Support for building static lib:

This commit is contained in:
Olof hagsand 2020-11-29 17:00:35 +01:00
parent 542c0495b3
commit 19fb063f82
8 changed files with 148 additions and 44 deletions

3
configure vendored
View file

@ -639,6 +639,7 @@ wwwuser
enable_optyangs
with_libxml2
with_restconf
LINKAGE
SH_SUFFIX
CLIXON_DEFAULT_CONFIG
INSTALLFLAGS
@ -2224,6 +2225,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
# Default CFLAGS and INSTALLFLAGS unless set by environment
: ${CFLAGS="-O2 -Wall"}
: ${INSTALLFLAGS="-s"}
: ${LINKAGE=dynamic}
# where autotool scripts are: install-sh, config.sub, config.guess
ac_aux_dir=
@ -3349,6 +3351,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
# Set to evhtp or fcgi -> compile apps/restconf