pkgs/build-support/cabal: the release version of GHC 7.8.x no longer requires
the -rpath hack added in 63c60638fcc148a3f1d786216c434da723aeef3d and edaa56041ceb3185d9c104ca72c457a5e7ae6e03 to produce dynamically linked executables
This commit is contained in:
parent
7aa3790f34
commit
a2a398fbda
@ -195,10 +195,6 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
|
||||
done
|
||||
done
|
||||
|
||||
${optionalString self.enableSharedExecutables ''
|
||||
configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}";
|
||||
''}
|
||||
|
||||
echo "configure flags: $extraConfigureFlags $configureFlags"
|
||||
./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \
|
||||
--libsubdir='$pkgid' $extraConfigureFlags $configureFlags 2>&1 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user