summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libpcre/files/pcre-4.2-link.patch')
-rw-r--r--dev-libs/libpcre/files/pcre-4.2-link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-libs/libpcre/files/pcre-4.2-link.patch b/dev-libs/libpcre/files/pcre-4.2-link.patch
new file mode 100644
index 000000000000..a2d154d75c84
--- /dev/null
+++ b/dev-libs/libpcre/files/pcre-4.2-link.patch
@@ -0,0 +1,11 @@
+--- pcre-4.2/Makefile.in.mps 2003-05-20 18:10:34.000000000 +0200
++++ pcre-4.2/Makefile.in 2003-05-20 18:11:10.000000000 +0200
+@@ -89,7 +89,7 @@
+ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) -I. -I$(top_srcdir) $(NEWLINE) $(LINK_SIZE) $(MATCH_LIMIT)
+ @ON_WINDOWS@LINK = $(CC) $(CFLAGS) -I. -I$(top_srcdir) -L.libs
+ @NOT_ON_WINDOWS@LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
+-LINKLIB = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir)
++LINKLIB = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -I. -I$(top_srcdir) -L. -L.libs
+ LINK_FOR_BUILD = $(LIBTOOL) --mode=link $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -I. -I$(top_srcdir)
+
+ # These are the version numbers for the shared libraries