wxPython: fix build
This commit is contained in:
parent
3c4c8b6500
commit
1285d739d8
@ -33,12 +33,14 @@ buildPythonPackage rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ ]
|
||||
++ (lib.optional openglSupport pyopengl)
|
||||
++ (lib.optionals (!stdenv.isDarwin) [ wxGTK (wxGTK.gtk) libX11 ])
|
||||
++ (lib.optionals stdenv.isDarwin [ wxmac darwin.apple_sdk.frameworks.Cocoa ])
|
||||
;
|
||||
nativeBuildInputs = [ pkgconfig ]
|
||||
++ (lib.optionals (!stdenv.isDarwin) [ wxGTK libX11 ])
|
||||
++ (lib.optionals stdenv.isDarwin [ wxmac darwin.apple_sdk.frameworks.Cocoa ]);
|
||||
|
||||
buildInputs = [ ]
|
||||
++ (lib.optionals (!stdenv.isDarwin) [ (wxGTK.gtk) ])
|
||||
++ (lib.optional openglSupport pyopengl);
|
||||
|
||||
preConfigure = ''
|
||||
cd wxPython
|
||||
# remove wxPython's darwin hack that interference with python-2.7-distutils-C++.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user