summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-09-13 08:24:46 -0400
committerBen Gamari <ben@smart-cactus.org>2017-09-13 10:39:56 -0400
commit91262e75dd1d80f8f28a3922934ec7e59290e28c (patch)
tree565db22b2068dcba12623c89e0d5bfff0baa0a22 /aclocal.m4
parentf8e383f0e4f11e6e1060888208440907bcba9248 (diff)
downloadhaskell-91262e75dd1d80f8f28a3922934ec7e59290e28c.tar.gz
Use ar for -staticlib
Hopefully we can get rid of libtool, by using ar only Depends on: D3579 Test Plan: validate Reviewers: austin, hvr, bgamari, erikd Reviewed By: bgamari Subscribers: rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D3721
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 8146e796c3..d053311d02 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -470,6 +470,7 @@ AC_DEFUN([FP_SETTINGS],
SettingsHaskellCPPFlags="$HaskellCPPArgs"
SettingsLdCommand="\$topdir/../${mingw_bin_prefix}ld.exe"
SettingsArCommand="\$topdir/../${mingw_bin_prefix}ar.exe"
+ SettingsRanlibCommand="\$topdir/../${mingw_bin_prefix}ranlib.exe"
SettingsPerlCommand='$topdir/../perl/perl.exe'
SettingsDllWrapCommand="\$topdir/../${mingw_bin_prefix}dllwrap.exe"
SettingsWindresCommand="\$topdir/../${mingw_bin_prefix}windres.exe"
@@ -492,6 +493,7 @@ AC_DEFUN([FP_SETTINGS],
SettingsHaskellCPPFlags="$HaskellCPPArgs"
SettingsLdCommand="$LdCmd"
SettingsArCommand="$ArCmd"
+ SettingsRanlibCommand="$RanlibCmd"
SettingsPerlCommand="$PerlCmd"
if test -z "$DllWrapCmd"
then
@@ -544,6 +546,7 @@ AC_DEFUN([FP_SETTINGS],
AC_SUBST(SettingsLdCommand)
AC_SUBST(SettingsLdFlags)
AC_SUBST(SettingsArCommand)
+ AC_SUBST(SettingsRanlibCommand)
AC_SUBST(SettingsPerlCommand)
AC_SUBST(SettingsDllWrapCommand)
AC_SUBST(SettingsWindresCommand)