mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix shared/static settings when building vs. NaCl library
Make sure the shared lib build is really disabled when compiling vs. NaCl: moved settings before libtool initialization fixed parameter name
This commit is contained in:
parent
cb1c1d25ec
commit
ba4681ef1e
11
configure.ac
11
configure.ac
|
@ -207,6 +207,11 @@ AC_ARG_WITH(libsodium-libs,
|
|||
]
|
||||
)
|
||||
|
||||
if test "x$WANT_NACL" = "xyes"; then
|
||||
enable_shared=no
|
||||
enable_static=yes
|
||||
fi
|
||||
|
||||
# Checks for programs.
|
||||
AC_PROG_CC
|
||||
AM_PROG_CC_C_O
|
||||
|
@ -214,12 +219,6 @@ m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
|||
AC_LIBTOOL_WIN32_DLL
|
||||
AC_PROG_LIBTOOL
|
||||
|
||||
if test "x$WANT_NACL" = "xyes"; then
|
||||
disable_shared=yes
|
||||
enable_static=yes
|
||||
fi
|
||||
|
||||
|
||||
WIN32=no
|
||||
AC_CANONICAL_HOST
|
||||
case $host_os in
|
||||
|
|
Loading…
Reference in New Issue
Block a user