[Pcre-svn] [980] code/trunk: Add libpcre. la to link command…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [980] code/trunk: Add libpcre. la to link commands for pcretest and pcregrep because this is
Revision: 980
          http://vcs.pcre.org/viewvc?view=rev&revision=980
Author:   ph10
Date:     2012-06-18 17:47:14 +0100 (Mon, 18 Jun 2012)


Log Message:
-----------
Add libpcre.la to link commands for pcretest and pcregrep because this is
required in some OS for shared objects.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/Makefile.am


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2012-06-17 19:08:41 UTC (rev 979)
+++ code/trunk/ChangeLog    2012-06-18 16:47:14 UTC (rev 980)
@@ -145,6 +145,10 @@
     both cases the values are those that cannot be the first data item in a UTF
     character. The three items that might have provoked this were recursions,
     possessively repeated groups, and atomic groups.
+    
+40. Ensure that libpcre is explicitly listed in the link commands for pcretest 
+    and pcregrep, because some OS require shared objects to be explicitly 
+    passed to ld, causing the link step to fail if they are not.



Version 8.30 04-February-2012

Modified: code/trunk/Makefile.am
===================================================================
--- code/trunk/Makefile.am    2012-06-17 19:08:41 UTC (rev 979)
+++ code/trunk/Makefile.am    2012-06-18 16:47:14 UTC (rev 980)
@@ -339,7 +339,7 @@
 pcretest_LDADD = $(LIBREADLINE)
 if WITH_PCRE8
 pcretest_SOURCES += pcre_printint.c
-pcretest_LDADD += libpcreposix.la
+pcretest_LDADD += libpcre.la libpcreposix.la
 endif # WITH_PCRE8
 if WITH_PCRE16
 pcretest_SOURCES += pcre16_printint.c
@@ -352,7 +352,7 @@
 bin_PROGRAMS += pcregrep
 pcregrep_SOURCES = pcregrep.c
 pcregrep_LDADD = $(LIBZ) $(LIBBZ2)
-pcregrep_LDADD += libpcreposix.la
+pcregrep_LDADD += libpcre.la libpcreposix.la
 endif # WITH_PCRE8


EXTRA_DIST += \