summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadrian/bindist/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile
index fb1c5dadfc..40efe553c1 100644
--- a/hadrian/bindist/Makefile
+++ b/hadrian/bindist/Makefile
@@ -91,7 +91,7 @@ install: install_bin install_lib install_includes
install: install_docs update_package_db
ActualBinsDir=${ghclibdir}/bin
-ifeq "$(TargetOS_CPP)" "mingw32"
+ifeq "$(RelocatableBuild)" "YES"
ActualLibsDir=${ghclibdir}
else
ActualLibsDir=${ghclibdir}/lib