Skip to content
Snippets Groups Projects
Commit 92103830 authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

configure: MergeObjsCmd - distinguish between empty string and unset variable

If `MergeObjsCmd` is explicitly set to the empty string then we should
assume that MergeObjs is just not supported.

This is especially important for windows where we set MergeObjsCmd to ""
in m4/fp_setup_windows_toolchain.m4.
parent f2b39e4a
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,10 @@
AC_DEFUN([FIND_MERGE_OBJECTS],[
AC_REQUIRE([FIND_LD])
if test -z "$MergeObjsCmd"; then
if test -z ${MergeObjsCmd+x}; then
MergeObjsCmd="$(command -v $LD)"
fi
if test -z "$MergeObjsArgs"; then
if test -z ${MergeObjsArgs+x}; then
MergeObjsArgs="-r"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment