Merge pull request #89324 from doronbehar/libgme-gcc-ref
libgme: Don't reference gcc-unwrapped
This commit is contained in:
commit
073c37e065
@ -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