improved on static / dynamic build configuration
This commit is contained in:
parent
c937af781b
commit
8f7a0bb621
|
@ -45,7 +45,15 @@ AC_ARG_WITH(lame-prefix,
|
||||||
|
|
||||||
AC_ARG_ENABLE( static,
|
AC_ARG_ENABLE( static,
|
||||||
[ --enable-static link everything into the executable statically [no]],
|
[ --enable-static link everything into the executable statically [no]],
|
||||||
LINK_STATIC="--static", LINK_STATIC="")
|
CONFIG_LINK_STATIC="${enableval}", CONFIG_LINK_STATIC="")
|
||||||
|
if test "${CONFIG_LINK_STATIC}" == "yes" ; then
|
||||||
|
LINK_STATIC="--static"
|
||||||
|
AC_MSG_RESULT( "creating statically linked executable")
|
||||||
|
else
|
||||||
|
LINK_STATIC=""
|
||||||
|
AC_MSG_RESULT( "creating dinamically linked executable")
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue