Created
May 20, 2012 12:17
-
-
Save msmhrt/2757887 to your computer and use it in GitHub Desktop.
This is a patch for pcre to fix explicit DSO linking issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Makefile.am b/Makefile.am | |
| index ce88cc2..d6b7e58 100644 | |
| --- a/Makefile.am | |
| +++ b/Makefile.am | |
| @@ -339,7 +339,7 @@ pcretest_SOURCES = pcretest.c | |
| 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 @@ dist_noinst_SCRIPTS += RunGrepTest | |
| 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 += \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment