diff options
Diffstat (limited to 'comms/unixcw/files/patch-src_libcw_Makefile.am')
-rw-r--r-- | comms/unixcw/files/patch-src_libcw_Makefile.am | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/comms/unixcw/files/patch-src_libcw_Makefile.am b/comms/unixcw/files/patch-src_libcw_Makefile.am new file mode 100644 index 000000000000..6d60c28dc726 --- /dev/null +++ b/comms/unixcw/files/patch-src_libcw_Makefile.am @@ -0,0 +1,36 @@ +--- src/libcw/Makefile.am.orig 2013-01-05 07:03:23.000000000 -0500 ++++ src/libcw/Makefile.am 2013-07-17 10:05:14.000000000 -0500 +@@ -41,7 +41,7 @@ + + # target-specific linker flags (objects to link) + # libcw_la_LIBADD=-lm -lpthread $(AC_ALSA_LIBS) $(AC_PULSEAUDIO_LIBS) +-libcw_la_LIBADD=-lm -lpthread -ldl ++libcw_la_LIBADD=-lm -lpthread + + # target-specific linker flags (additional flags) + # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html +@@ -78,7 +78,7 @@ + libcwunittests_CPPFLAGS = $(AM_CPPFLAGS) -DLIBCW_UNIT_TESTS + + # target-specific linker flags (objects to link) +-libcwunittests_LDADD=-lm -lpthread -ldl ++libcwunittests_LDADD=-lm -lpthread + + # target-specific compiler flags + libcwunittests_CFLAGS = -rdynamic +@@ -94,12 +94,12 @@ + + + standalone: +- gcc -O0 -g -DHAVE_CONFIG_H -std=c99 -I. -I../../src -I../../src/ -I../../src/libcw/ -I../../src/cwutils/ -DLIBCW_WITH_DEV -DLIBCW_STANDALONE -DLIBCW_WITH_PULSEAUDIO -DLIBCW_WITH_OSS -DLIBCW_WITH_ALSA -DLIBCW_WITH_CONSOLE libcw.c libcw_console.c libcw_null.c libcw_pa.c libcw_debug.c libcw_oss.c libcw_alsa.c -lm -ldl -lpthread ++ $(CC) -O0 -g -DHAVE_CONFIG_H -std=c99 -I. -I../../src -I../../src/ -I../../src/libcw/ -I../../src/cwutils/ -DLIBCW_WITH_DEV -DLIBCW_STANDALONE -DLIBCW_WITH_PULSEAUDIO -DLIBCW_WITH_OSS -DLIBCW_WITH_ALSA -DLIBCW_WITH_CONSOLE libcw.c libcw_console.c libcw_null.c libcw_pa.c libcw_debug.c libcw_oss.c libcw_alsa.c -lm -lpthread + + + # target: libcw.pc +-pkgconfigdir = $(libdir)/pkgconfig +- ++#pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = ${prefix}/libdata/pkgconfig + + + |