libgme: Don't reference gcc-unwrapped
This commit is contained in:
parent
51fd4ebc6a
commit
cf657dc584
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromBitbucket, cmake }:
|
||||
{ stdenv, fetchFromBitbucket, cmake, removeReferencesTo }:
|
||||
let
|
||||
version = "0.6.3";
|
||||
in stdenv.mkDerivation {
|
||||
@ -21,4 +21,14 @@ in stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
nativeBuildInputs = [ removeReferencesTo ];
|
||||
|
||||
# It used to reference it, in the past, but thanks to the postFixup hook, now
|
||||
# it doesn't.
|
||||
disallowedReferences = [ stdenv.cc.cc ];
|
||||
|
||||
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user