projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
87a814f
)
configure: Correctly add openssl cflags and libs
author
Luca Barbato
<lu_zero@gentoo.org>
Fri, 22 Jan 2016 10:33:50 +0000
(11:33 +0100)
committer
Luca Barbato
<lu_zero@gentoo.org>
Sat, 23 Jan 2016 13:34:06 +0000
(14:34 +0100)
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
1bfd3e9
..
c5bcb78
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-4582,7
+4582,8
@@
enabled mmal && { check_lib interface/mmal/mmal.h mmal_port_connect
check_lib interface/mmal/mmal.h mmal_port_connect ; }
check_lib interface/mmal/mmal.h mmal_port_connect ; } ||
die "ERROR: mmal not found"; }
check_lib interface/mmal/mmal.h mmal_port_connect ; }
check_lib interface/mmal/mmal.h mmal_port_connect ; } ||
die "ERROR: mmal not found"; }
-enabled openssl && { check_pkg_config openssl openssl/ssl.h SSL_library_init ||
+enabled openssl && { check_pkg_config openssl openssl/ssl.h SSL_library_init && {
+ add_cflags $openssl_cflags && add_extralibs $openssl_libs; }||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto ||
check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto ||
check_lib openssl/ssl.h SSL_library_init -lssl32 -leay32 ||
check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 ||