diff options
Diffstat (limited to 'dev-cpp/commoncpp2/files/1.5.7-as-needed.patch')
-rw-r--r-- | dev-cpp/commoncpp2/files/1.5.7-as-needed.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-cpp/commoncpp2/files/1.5.7-as-needed.patch b/dev-cpp/commoncpp2/files/1.5.7-as-needed.patch new file mode 100644 index 000000000000..a1d20c610198 --- /dev/null +++ b/dev-cpp/commoncpp2/files/1.5.7-as-needed.patch @@ -0,0 +1,35 @@ +diff -Naur commoncpp2-1.5.7.orig/configure.ac commoncpp2-1.5.7/configure.ac +--- commoncpp2-1.5.7.orig/configure.ac 2007-06-16 15:23:05.000000000 +0200 ++++ commoncpp2-1.5.7/configure.ac 2007-06-16 15:24:39.000000000 +0200 +@@ -357,6 +357,9 @@ + darwin*) + MODULE_FLAGS="-dynamic -bundle -undefined suppress -flat_namespace -read_only_relocs suppress" + ;; ++linux*) ++ BASE_LIB="../src/libccgnu2.la" ++ ;; + esac + + AC_SUBST(COMMON_FLAGS) +diff -Naur commoncpp2-1.5.7.orig/src/Makefile.am commoncpp2-1.5.7/src/Makefile.am +--- commoncpp2-1.5.7.orig/src/Makefile.am 2007-06-16 15:23:05.000000000 +0200 ++++ commoncpp2-1.5.7/src/Makefile.am 2007-06-16 15:23:32.000000000 +0200 +@@ -32,7 +32,7 @@ + scriptdir = $(bindir) + script_DATA = ccgnu2-config + +-libccgnu2_la_LIBADD = @THREAD_LIBS@ ++libccgnu2_la_LIBADD = @THREAD_LIBS@ @DYN_LOADER@ + libccgnu2_la_LDFLAGS = $(RELEASE) $(SHARED_FLAGS) + noinst_DATA = @STAGE2@ + +@@ -45,7 +45,8 @@ + cidr.cpp private.h nat.h + + if EXTRAS +-libccext2_la_LDFLAGS = @BASE_LIB@ @THREAD_LIBS@ @SSL_LIBS@ @ZSTREAM_LIBS@ $(RELEASE) $(SHARED_FLAGS) ++libccext2_la_LIBADD = @THREAD_LIBS@ @BASE_LIB@ @SSL_LIBS@ @ZSTREAM_LIBS@ ++libccext2_la_LDFLAGS = $(RELEASE) $(SHARED_FLAGS) + + if GETOPT_LONG + optincludedir=$(includedir)/cc++2 |