mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
* Support static builds.
This commit is contained in:
parent
e07d7284a2
commit
d8c5745c41
2 changed files with 9 additions and 2 deletions
|
@ -77,6 +77,13 @@ AC_DISABLE_STATIC
|
|||
AC_ENABLE_SHARED
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
if test "$enable_shared" = yes; then
|
||||
SUB_CONFIGURE_FLAGS="--enable-shared --disable-static"
|
||||
else
|
||||
SUB_CONFIGURE_FLAGS="--enable-static --disable-shared"
|
||||
fi
|
||||
AC_SUBST(SUB_CONFIGURE_FLAGS)
|
||||
|
||||
|
||||
# Use 64-bit file system calls so that we can support files > 2 GiB.
|
||||
AC_SYS_LARGEFILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue