Created
October 3, 2023 23:40
-
-
Save adsr/65a5fc4e8da23bebaa779d9ebcd30353 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config.m4 b/config.m4 | |
index 521dfbb..b9dfa85 100644 | |
--- a/config.m4 | |
+++ b/config.m4 | |
@@ -8,7 +8,7 @@ if test "$PHP_INJECTION" != "no"; then | |
LIBSYMBOL=libinjection_is_sqli | |
PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, | |
[ | |
- PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $INJECTION_DIR, INJECTION_SHARED_LIBADD) | |
+ LDFLAGS="$LDFLAGS $INJECTION_DIR/libinjection.a" | |
AC_DEFINE(HAVE_INJECTIONLIB,1,[ ]) | |
],[ | |
AC_MSG_ERROR([wrong libinjection version or lib not found]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment