summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-11-07 16:04:59 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-11-07 16:04:59 -0600
commit5c78250d5e638d35ffe402a3be99f907df691513 (patch)
tree00afbe5005adf652ece1bb082af422bd2743a3df
parent22014d2ad52ffb4a806b2e18d93cf1ea8673ca5c (diff)
downloadbusybox-w32-packaging-5c78250d5e638d35ffe402a3be99f907df691513.tar.gz
busybox-w32-packaging-5c78250d5e638d35ffe402a3be99f907df691513.tar.bz2
busybox-w32-packaging-5c78250d5e638d35ffe402a3be99f907df691513.zip
Actually use the libs passed
-rw-r--r--test.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/test.patch b/test.patch
index 38728ef..f49ed9d 100644
--- a/test.patch
+++ b/test.patch
@@ -134,6 +134,20 @@ index 6a64836fb..6a82f1fa4 100644
134 #endif 134 #endif
135 135
136 #if ENABLE_FEATURE_WGET_HTTPS 136 #if ENABLE_FEATURE_WGET_HTTPS
137diff --git a/scripts/trylink b/scripts/trylink
138index 2456252a3..6186284f1 100755
139--- a/scripts/trylink
140+++ b/scripts/trylink
141@@ -84,7 +84,8 @@ A_FILES="$6"
142 # a real utmp library in LDLIBS, dropping it "works" but resulting binary
143 # does not work properly).
144 LDLIBS="$7"
145-CONFIG_EXTRA_LDLIBS="$8"
146+shift 7
147+CONFIG_EXTRA_LDLIBS="$@"
148
149 # The --sort-section option is not supported by older versions of ld
150 SORT_SECTION="-Wl,--sort-section,alignment"
137diff --git a/win32/mingw.c b/win32/mingw.c 151diff --git a/win32/mingw.c b/win32/mingw.c
138index 87e7ca602..7bad3e4fa 100644 152index 87e7ca602..7bad3e4fa 100644
139--- a/win32/mingw.c 153--- a/win32/mingw.c