pkgs/build-support/cabal: the release version of GHC 7.8.x no longer requires

the -rpath hack added in 63c60638fc and
edaa56041c to produce dynamically linked
executables
This commit is contained in:
Peter Simons 2014-04-17 11:25:21 +02:00
parent 7aa3790f34
commit a2a398fbda

View file

@ -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 \