diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-04-29 01:39:19 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-04-29 01:39:19 +0000 |
| commit | 36a5e7d7b1d9ac63dc310351c84fd3b10f190a1a (patch) | |
| tree | 78731589aa3b7363a02bfa082f88d77c248e19d1 /tools | |
| parent | a30f977527e4a446ebc53554dc231f4e7bfb4f4e (diff) | |
| download | shibari-36a5e7d7b1d9ac63dc310351c84fd3b10f190a1a.tar.gz | |
More build fixes
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/configure.template | 4 | ||||
| -rwxr-xr-x | tools/gen-configure.el | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/tools/gen-configure.el b/tools/gen-configure.el index 577d86f..eba63fb 100755 --- a/tools/gen-configure.el +++ b/tools/gen-configure.el @@ -23,9 +23,9 @@ multisubstitute if { - heredoc 0 ${TEMPLATE} redirfd -w 1 configure.new - s6-cat + if { heredoc 0 ${TEMPLATE} s6-cat } + s6-echo } if { s6-chmod 0755 configure.new } |
