pkgs/build-support/cabal: the release version of GHC 7.8.x no longer requires
the -rpath hack added in63c60638fc
andedaa56041c
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…
Reference in New Issue