Merge "pjproject_bundled: Find shared libraries in root --with-ssl=PATH."

This commit is contained in:
Joshua Colp 2018-08-06 05:28:47 -05:00 committed by Gerrit Code Review
commit 833548ff75

View file

@ -0,0 +1,18 @@
--- a/aconfigure.ac (PJSIP 2.7.2)
+++ b/aconfigure.ac (working copy)
@@ -1571 +1571,5 @@
- LDFLAGS="$LDFLAGS -L$with_ssl/lib"
+ if test -d $with_ssl/lib; then
+ LDFLAGS="$LDFLAGS -L$with_ssl/lib"
+ else
+ LDFLAGS="$LDFLAGS -L$with_ssl"
+ fi
--- a/aconfigure (PJSIP 2.7.2)
+++ b/aconfigure (working copy)
@@ -7884 +7884,5 @@
- LDFLAGS="$LDFLAGS -L$with_ssl/lib"
+ if test -d $with_ssl/lib; then
+ LDFLAGS="$LDFLAGS -L$with_ssl/lib"
+ else
+ LDFLAGS="$LDFLAGS -L$with_ssl"
+ fi