1 |
--- Makefile.am~ 2012-11-24 19:26:09.000000000 +0800 |
2 |
+++ Makefile.am 2012-12-01 06:31:08.238738370 +0800 |
3 |
@@ -483,7 +483,7 @@ |
4 |
bin_PROGRAMS += pcretest |
5 |
pcretest_SOURCES = pcretest.c |
6 |
pcretest_CFLAGS = $(AM_CFLAGS) |
7 |
-pcretest_LDADD = $(LIBREADLINE) |
8 |
+pcretest_LDADD = libpcre.la libpcreposix.la $(LIBREADLINE) |
9 |
if WITH_PCRE8 |
10 |
pcretest_SOURCES += pcre_printint.c |
11 |
pcretest_LDADD += libpcre.la libpcreposix.la |
12 |
@@ -510,8 +510,7 @@ |
13 |
bin_PROGRAMS += pcregrep |
14 |
pcregrep_SOURCES = pcregrep.c |
15 |
pcregrep_CFLAGS = $(AM_CFLAGS) |
16 |
-pcregrep_LDADD = $(LIBZ) $(LIBBZ2) |
17 |
-pcregrep_LDADD += libpcre.la libpcreposix.la |
18 |
+pcregrep_LDADD = libpcre.la libpcreposix.la $(LIBZ) $(LIBBZ2) |
19 |
if WITH_GCOV |
20 |
pcregrep_CFLAGS += $(GCOV_CFLAGS) |
21 |
pcregrep_LDADD += $(GCOV_LIBS) |