forked from pool/pam_mount
19 lines
682 B
Plaintext
19 lines
682 B
Plaintext
Index: pam_mount-0.35/configure.ac
|
|
===================================================================
|
|
--- pam_mount-0.35.orig/configure.ac
|
|
+++ pam_mount-0.35/configure.ac
|
|
@@ -46,8 +46,11 @@ AM_CONDITIONAL(SELINUX, $with_selinux)
|
|
|
|
m4_sinclude(m4lib/gcc4_visibility.m4)
|
|
# RH 8.0's OpenSSL does not have?
|
|
-AC_CHECK_LIB(crypto, EVP_DecryptInit_ex, [pmt_LIBS="$pmt_LIBS -lcrypto"])
|
|
-AC_CHECK_LIB(ssl, SSL_load_error_strings, [pmt_LIBS="$pmt_LIBS -lssl"])
|
|
+AC_CHECK_LIB(crypto, EVP_DecryptInit_ex)
|
|
+AC_CHECK_LIB(ssl, SSL_load_error_strings)
|
|
+pmt_LIBS="$LIBS";
|
|
+LIBS="";
|
|
+AC_SUBST(pmt_LIBS)
|
|
|
|
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
|
|
-D_FILE_OFFSET_BITS=64 \
|