mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
The script configure from Teluu expects shared libraries (.so) in a subfolder called 'lib', when --with-xyz=PATH is specified. However for OpenSSL, the default location is the root of the source folder = PATH. Furthermore, Asterisk supports both, 'lib' and root. For consistency and because Asterisk is using (only) OpenSSL in PJProject, it is enhanced to support both locations, just like Asterisk. ASTERISK-27995 Change-Id: I8eb916a88b6b8c22e29bb40bee8faaca6c73406f
19 lines
720 B
Diff
19 lines
720 B
Diff
--- 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
|