summaryrefslogtreecommitdiff
path: root/devel/regexx/files/patch-libtool22
blob: 000fff2495ad3a69438d0e02f14fff9563833c6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- pcre/Makefile.in.orig	2001-03-13 10:31:36.000000000 -0600
+++ pcre/Makefile.in	2009-07-13 22:54:21.000000000 -0500
@@ -90,13 +90,13 @@
 		  @echo ' '
 		  @echo '--- Building pcregrep utility'
 		  @echo ' '
-		$(LIBTOOL) $(CC) $(CFLAGS) -o pcregrep pcregrep.o libpcre.$(LIBSUFFIX)
+		$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o pcregrep pcregrep.o libpcre.$(LIBSUFFIX)
 
 pcretest:       libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX) pcretest.o
 		  @echo ' '
 		  @echo '--- Building pcretest testing program'
 		  @echo ' '
-		$(LIBTOOL) $(PURIFY) $(CC) $(CFLAGS) -o pcretest pcretest.o \
+		$(LIBTOOL) --mode=link $(PURIFY) $(CC) $(CFLAGS) -o pcretest pcretest.o \
 		  libpcre.$(LIBSUFFIX) libpcreposix.$(LIBSUFFIX)
 
 libpcre.a:      $(OBJ)
@@ -112,7 +112,7 @@
 		@echo '--- Building shared library: libpcre'
 		@echo ' '
 		-rm -f libpcre.la
-		./libtool $(CC) -version-info '$(PCRELIBVERSION)' -o libpcre.la -rpath $(LIBDIR) $(LOBJ)
+		./libtool --mode=link $(CC) -version-info '$(PCRELIBVERSION)' -o libpcre.la -rpath $(LIBDIR) $(LOBJ)
 
 libpcreposix.a: pcreposix.o
 		@echo ' '
@@ -127,22 +127,22 @@
 		@echo '--- Building shared library: libpcreposix'
 		@echo ' '
 		-rm -f libpcreposix.la
-		./libtool $(CC) -version-info '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la -rpath $(LIBDIR) pcreposix.lo
+		./libtool --mode=link $(CC) -version-info '$(PCREPOSIXLIBVERSION)' -o libpcreposix.la -rpath $(LIBDIR) pcreposix.lo
 
 pcre.o:         chartables.c pcre.c pcre.h internal.h config.h Makefile
-		$(LIBTOOL) $(CC) -c $(CFLAGS) $(UTF8) pcre.c
+		$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(UTF8) pcre.c
 
 pcreposix.o:    pcreposix.c pcreposix.h internal.h pcre.h config.h Makefile
-		$(LIBTOOL) $(CC) -c $(CFLAGS) pcreposix.c
+		$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) pcreposix.c
 
 maketables.o:   maketables.c pcre.h internal.h config.h Makefile
-		$(LIBTOOL) $(CC) -c $(CFLAGS) maketables.c
+		$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) maketables.c
 
 get.o:          get.c pcre.h internal.h config.h Makefile
-		$(LIBTOOL) $(CC) -c $(CFLAGS) get.c
+		$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) get.c
 
 study.o:        study.c pcre.h internal.h config.h Makefile
-		$(LIBTOOL) $(CC) -c $(CFLAGS) $(UTF8) study.c
+		$(LIBTOOL) --mode=compile $(CC) -c $(CFLAGS) $(UTF8) study.c
 
 pcretest.o:     pcretest.c pcre.h config.h Makefile
 		$(CC) -c $(CFLAGS) $(UTF8) pcretest.c