-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linking to pcre if it is installed on the system #101
Conversation
|
I tweaked your patch a bit. (ignore the removal of dl.)
|
@namtsui Yeah those look better. I've updated the branch to suit. |
I've also added some logic so that the 'dl' library is only linked if the OS is UNIX but not OpenBSD (which has -ldl in base) |
oops I had a typo: Using bundled PCRE intead --> instead |
I don't think the !OpenBSD works. It should be like this: |
@tdm4 , Toma |
Try running it again after tdm4 updates. It needs to be changed as mentioned above in order to link dl. As it currently is, !OpenBSD doesn't match Linux. |
fix this typo, too Also, quote "OpenBSD" for the regex. Although, it seems to work fine without quotes. Examples of regex in the second link show quotes at least. see: |
@tdm4 , |
Yes, my apologies! I've updated the branch and put double quotes around OpenBSD. |
hi @tdm4 , |
Detect PCRE library and if found, link to that instead of internal PCRE.