summaryrefslogtreecommitdiff
path: root/packages/libpcre/files/native-rpath-link.patch
blob: 69de2bea64827422a0cbc0882d9b95fbb282e08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: pcre-4.4/Makefile.in
===================================================================
--- pcre-4.4.orig/Makefile.in	2003-08-21 11:43:07.000000000 +0100
+++ pcre-4.4/Makefile.in	2008-03-19 10:34:08.000000000 +0000
@@ -107,12 +107,12 @@
 
 libpcre.la:     $(OBJ)
 		-rm -f libpcre.la
-		$(LINKLIB) -rpath $(LIBDIR) -version-info \
+		$(LINKLIB) -rpath $(LIBDIR) -L$(LIBDIR) -version-info \
 		'$(PCRELIBVERSION)' -o libpcre.la $(LOBJ)
 
 libpcreposix.la: pcreposix.@OBJEXT@
 		-rm -f libpcreposix.la
-		$(LINKLIB) -rpath $(LIBDIR) libpcre.la -version-info \
+		$(LINKLIB) -rpath $(LIBDIR) -L$(LIBDIR) libpcre.la -version-info \
 		'$(PCREPOSIXLIBVERSION)' -o libpcreposix.la pcreposix.lo
 
 pcre.@OBJEXT@:  $(top_srcdir)/chartables.c $(top_srcdir)/pcre.c \