3
0
Fork 0
forked from mirrors/nixpkgs

cabal: cosmetic

This commit is contained in:
Peter Simons 2014-08-16 17:37:42 +02:00
parent a9fad50181
commit 462e067f45

View file

@ -205,10 +205,10 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
done
${optionalString (self.enableSharedExecutables && self.stdenv.isLinux) ''
configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}";
configureFlags+=" --ghc-option=-optl=-Wl,-rpath=$out/lib/${ghc.ghc.name}/${self.pname}-${self.version}"
''}
${optionalString (self.enableSharedExecutables && self.stdenv.isDarwin) ''
configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names";
configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names"
''}
echo "configure flags: $extraConfigureFlags $configureFlags"