diff options
author | Gabriella Gonzalez <gabriella@mercury.com> | 2023-02-28 15:39:59 -0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-06 17:06:50 -0500 |
commit | 845f404da0754f0fa2495739e5ad94b20d3c465d (patch) | |
tree | 826c1cf8c69fadf05e3d22bdb44f8d2f5fa95941 | |
parent | 83b0177e97c869f49832e559276492b82667d6b7 (diff) | |
download | haskell-845f404da0754f0fa2495739e5ad94b20d3c465d.tar.gz |
Fix configure failure on alpine linux
-rw-r--r-- | m4/fp_ld_supports_response_files.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/fp_ld_supports_response_files.m4 b/m4/fp_ld_supports_response_files.m4 index 3a726332d7..a1124d94bb 100644 --- a/m4/fp_ld_supports_response_files.m4 +++ b/m4/fp_ld_supports_response_files.m4 @@ -5,7 +5,8 @@ AC_DEFUN([FP_LD_SUPPORTS_RESPONSE_FILES], [ AC_MSG_CHECKING([whether $LD supports response files]) echo 'int main(void) {return 0;}' > conftest.c "$CC" -c -o conftest.o conftest.c > /dev/null 2>&1 - if "$LD" @<(printf '%q\n' -shared -o conftest conftest.o) > /dev/null 2>&1 || "$LD" @<(printf '%q\n' -dylib -o conftest conftest.o) > /dev/null 2>&1 + printf '%q\n' -shared -o conftest conftest.o > args.txt + if "$LD" -shared @args.txt > /dev/null 2>&1 || "$LD" -dylib @args.txt > /dev/null 2>&1 then LdSupportsResponseFiles=YES AC_MSG_RESULT([yes]) |