Skip to content

Commit 25a6363

Browse files
eworm-debch
authored andcommitted
configure: quote the assignments for run-compiler
Building for multilib failed, as the compiler command contains an extra argument. That needs quoting. Regression from b78ca50 Fixes curl#11179 Closes curl#11180
1 parent 7e2a11b commit 25a6363

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

+2-2
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ dnl something different but only have that affect the execution of the results
193193
dnl of the compile, not change the libraries for the compiler itself.
194194
dnl
195195
compilersh="run-compiler"
196-
echo "CC=$CC" > $compilersh
197-
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $compilersh
196+
echo "CC=\"$CC\"" > $compilersh
197+
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> $compilersh
198198
echo 'exec $CC $@' >> $compilersh
199199

200200
dnl **********************************************************************

0 commit comments

Comments
 (0)