pygtk: fix build on aarch64-darwin
This commit is contained in:
parent
d8cb641929
commit
7994937ed2
@ -36,7 +36,8 @@ buildPythonPackage rec {
|
||||
|
||||
buildPhase = "buildPhase";
|
||||
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-ObjC";
|
||||
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-ObjC"
|
||||
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-lpython2.7";
|
||||
|
||||
installPhase = "installPhase";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user