python-pysqlite: fix darwin build
This commit is contained in:
parent
79e7f7af9a
commit
2b851d14d9
@ -14657,7 +14657,7 @@ in {
|
||||
substituteInPlace "setup.cfg" \
|
||||
--replace "/usr/local/include" "${pkgs.sqlite.dev}/include" \
|
||||
--replace "/usr/local/lib" "${pkgs.sqlite.out}/lib"
|
||||
export LDSHARED="$CC -pthread -shared"
|
||||
${stdenv.lib.optionalString (!stdenv.isDarwin) ''export LDSHARED="$CC -pthread -shared"''}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user