Amend configure script to support lndir build tree
authorAdam Gundry <adam@well-typed.com>
Sat, 16 Jun 2018 15:32:55 +0000 (11:32 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 16 Jun 2018 16:28:54 +0000 (12:28 -0400)
Test Plan: ./validate

Reviewers: bgamari

Subscribers: rwbarton, thomie, erikd, carter

GHC Trac Issues: #15257

Differential Revision: https://phabricator.haskell.org/D4853

configure.ac

index 2e6e644..cf30311 100644 (file)
@@ -673,11 +673,11 @@ dnl --------------------------------------------------------------
 dnl ** Copy the files from the "fs" utility into the right folders.
 dnl --------------------------------------------------------------
 AC_MSG_NOTICE([Creating links for in-tree file handling routines.])
 dnl ** Copy the files from the "fs" utility into the right folders.
 dnl --------------------------------------------------------------
 AC_MSG_NOTICE([Creating links for in-tree file handling routines.])
-ln -f -v utils/fs/fs.* utils/lndir/
-ln -f -v utils/fs/fs.* utils/unlit/
-ln -f -v utils/fs/fs.* rts/
-ln -f -v utils/fs/fs.h libraries/base/include/
-ln -f -v utils/fs/fs.c libraries/base/cbits/
+ln -f -v -L utils/fs/fs.* utils/lndir/
+ln -f -v -L utils/fs/fs.* utils/unlit/
+ln -f -v -L utils/fs/fs.* rts/
+ln -f -v -L utils/fs/fs.h libraries/base/include/
+ln -f -v -L utils/fs/fs.c libraries/base/cbits/
 AC_MSG_NOTICE([Routines in place. Packages can now be build normally.])
 
 dnl --------------------------------------------------------------
 AC_MSG_NOTICE([Routines in place. Packages can now be build normally.])
 
 dnl --------------------------------------------------------------