aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-04-29 01:39:21 +0000
committerLaurent Bercot <ska@appnovation.com>2025-04-29 01:39:21 +0000
commite6a6b7f4d06b5c47c27e20f704b25c59841fb9e2 (patch)
treee04062a425ff50721ffc5a70bf8125a699b48571 /configure
parent5103267a06db46c03d36b5783576f3f4b113dfd9 (diff)
downloadbcnm-e6a6b7f4d06b5c47c27e20f704b25c59841fb9e2.tar.gz
More build fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 4184099..54e0004 100755
--- a/configure
+++ b/configure
@@ -184,7 +184,7 @@ for arg ; do
--pkgconfigdir=*) pkgconfigdir=${arg#*=} ;;
--with-sysdeps=*) sysdeps=${arg#*=} manualsysdeps=true ;;
--with-include=*) var=${arg#*=} ; stripdir var ; addincpath="$addincpath -I$var" ; depincpath="${depincpath}${depincpath:+ }-I$var" ;;
- --with-lib=*) var=${arg#*=} ; stripdir var ; addlibspath="$addlibspath -L$var" ; deplibpath="${deplibpath}${deplibpath:+ }-I$var" ; vpaths="$vpaths $var" ;;
+ --with-lib=*) var=${arg#*=} ; stripdir var ; addlibspath="$addlibspath -L$var" ; deplibpath="${deplibpath}${deplibpath:+ }-L$var" ; vpaths="$vpaths $var" ;;
--with-dynlib=*) var=${arg#*=} ; stripdir var ; addlibdpath="$addlibdpath -L$var" ; vpathd="$vpathd $var" ;;
--with-pkgconfig=*) pkgconf=${arg#*=} ;;
--with-pkgconfig) pkgconf=${PKG_CONFIG:-pkg-config} ;;
@@ -406,7 +406,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
@@ -466,7 +466,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
@@ -536,4 +536,4 @@ echo "#define ${package_macro_name}_TMPDIR \"$tmpdir\""
echo
echo "#endif"
exec 1>&3 3>&-
-echo " ... done." \ No newline at end of file
+echo " ... done."