Merge pull request #117 from lilyinstarlight/fix/disable-static

Fix --disable-static and --enable-static=no
This commit is contained in:
lwthiker
2022-10-08 11:42:41 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
Vendored
+1 -1
View File
@@ -4101,7 +4101,7 @@ fi
# Check whether --enable-static was given.
if test ${enable_static+y}
then :
enableval=$enable_static; static_build="yes"
enableval=$enable_static; static_build="$enableval"
else $as_nop
static_build="no"
+1 -1
View File
@@ -11,7 +11,7 @@ AC_CHECK_TOOL([STRIP], [strip])
AC_ARG_ENABLE([static],
[AS_HELP_STRING([--enable-static],
[Build curl-impersonate statically with libcurl-impersonate])],
[AC_SUBST([static_build], ["yes"])],
[AC_SUBST([static_build], ["$enableval"])],
[AC_SUBST([static_build], ["no"])])
# Let the user optionally specify the path to zlib.