python3Packages.libredwg: fix build on darwin
This commit is contained in:
parent
a4966eecb9
commit
c0e332492f
@ -36,6 +36,11 @@ stdenv.mkDerivation rec {
|
||||
cp ${printVersion} build-aux/git-version-gen
|
||||
'';
|
||||
|
||||
preConfigure = lib.optionalString (stdenv.isDarwin && enablePython) ''
|
||||
# prevent configure picking up stack_size from distutils.sysconfig
|
||||
export PYTHON_EXTRA_LDFLAGS=" "
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config texinfo ]
|
||||
++ lib.optional enablePython swig;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user