mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 12:49:36 +00:00
Fix --disable-static and --enable-static=no
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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"
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user