diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-29 01:38:54 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-29 01:38:54 +0000 |
| commit | 0cccc2eae6267553341852f3c10657c005c1faf3 (patch) | |
| tree | eb54d7232aa75df791a390134d6f1c976842e620 /tools/configure.template | |
| parent | a5d1e7f6dd3f616feeee6c9b585f97da8ee3046b (diff) | |
| download | nsss-0cccc2eae6267553341852f3c10657c005c1faf3.tar.gz | |
More build fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools/configure.template')
| -rwxr-xr-x | tools/configure.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/configure.template b/tools/configure.template index 54e5ea1..51fc2b4 100755 --- a/tools/configure.template +++ b/tools/configure.template @@ -405,7 +405,7 @@ tryldflag LDFLAGS_AUTO -Wl,--sort-common CPPFLAGS_AUTO="${CPPFLAGS_AUTO}${addincpath}" if $evenmorestatic ; then - LDFLAGS_NOSHARED=-static + LDFLAGS_NOSHARED=" -static" fi if $shared ; then @@ -465,7 +465,7 @@ CFLAGS := ${CFLAGS}${CFLAGS_POST:+ }$CFLAGS_POST LDFLAGS_AUTO := $LDFLAGS_AUTO LDFLAGS := ${LDFLAGS}${LDFLAGS_POST:+ }$LDFLAGS_POST LDFLAGS_SHARED := $LDFLAGS_SHARED -LDFLAGS_NOSHARED := $LDFLAGS_NOSHARED +LDFLAGS_NOSHARED :=$LDFLAGS_NOSHARED CROSS_COMPILE := $cross vpath lib%.a$vpaths |
