1 |
From 7e482d25c8898170cd550784e0811d90e4897cc8 Mon Sep 17 00:00:00 2001 |
2 |
From: William Murphy <warrendiogenese@gmail.com> |
3 |
Date: Wed, 27 Aug 2014 19:56:12 -0700 |
4 |
Subject: [PATCH] linkage fix |
5 |
|
6 |
--- |
7 |
Makefile.am | 5 ++--- |
8 |
1 file changed, 2 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/Makefile.am b/Makefile.am |
11 |
index 5f640b0..4db944e 100644 |
12 |
--- a/Makefile.am |
13 |
+++ b/Makefile.am |
14 |
@@ -493,7 +493,7 @@ EXTRA_DIST += RunTest.bat |
15 |
bin_PROGRAMS += pcretest |
16 |
pcretest_SOURCES = pcretest.c |
17 |
pcretest_CFLAGS = $(AM_CFLAGS) |
18 |
-pcretest_LDADD = $(LIBREADLINE) |
19 |
+pcretest_LDADD = libpcre.la libpcreposix.la $(LIBREADLINE) |
20 |
if WITH_PCRE8 |
21 |
pcretest_SOURCES += pcre_printint.c |
22 |
pcretest_LDADD += libpcre.la libpcreposix.la |
23 |
@@ -520,8 +520,7 @@ dist_noinst_SCRIPTS += RunGrepTest |
24 |
bin_PROGRAMS += pcregrep |
25 |
pcregrep_SOURCES = pcregrep.c |
26 |
pcregrep_CFLAGS = $(AM_CFLAGS) |
27 |
-pcregrep_LDADD = $(LIBZ) $(LIBBZ2) |
28 |
-pcregrep_LDADD += libpcre.la libpcreposix.la |
29 |
+pcregrep_LDADD = libpcre.la libpcreposix.la $(LIBZ) $(LIBBZ2) |
30 |
if WITH_GCOV |
31 |
pcregrep_CFLAGS += $(GCOV_CFLAGS) |
32 |
pcregrep_LDADD += $(GCOV_LIBS) |
33 |
-- |
34 |
1.8.4.5 |
35 |
|