File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -12,15 +12,14 @@ if test "$PHP_XPASS" != "no"; then
1212 PHP_EVAL_LIBLINE([ $LIBXCRYPT_LIBS] , [ XPASS_SHARED_LIBADD] )
1313
1414 old_CFLAGS=$CFLAGS; CFLAGS="$CFLAGS $LIBXCRYPT_CFLAGS"
15- old_LDFLAGS=$LDFLAGS; LDFLAGS ="$LIBXCRYPT_LIBS $LDFLAGS "
15+ old_LIBS=$LIBS; LIBS ="$LIBS $LIBXCRYPT_LIBS "
1616
17- AC_MSG_CHECKING ( [ for yescrypt] )
17+ AC_MSG_CHECKING ( [ for yescrypt algo ] )
1818 AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [ [
1919#include <string.h>
2020#include <unistd.h>
2121#include <crypt.h>
2222#include <stdlib.h>
23- #include <string.h>
2423
2524int main(void) {
2625 char salt[ 8] ;
@@ -39,7 +38,6 @@ int main(void) {
3938#include <unistd.h>
4039#include <crypt.h>
4140#include <stdlib.h>
42- #include <string.h>
4341
4442int main(void) {
4543 char salt[ 8] ;
@@ -53,7 +51,7 @@ int main(void) {
5351 ] )
5452
5553 CFLAGS=$old_CFLAGS
56- LDFLAGS=$old_LDFLAGS
54+ LIBS=$old_LIBS
5755
5856 PHP_SUBST([ XPASS_SHARED_LIBADD] )
5957
You can’t perform that action at this time.
0 commit comments