uxplay: fix build on darwin
This commit is contained in:
parent
de79009ed9
commit
af422170e7
@ -26,8 +26,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace lib/CMakeLists.txt \
|
||||
--replace "APPLE" "FALSE" \
|
||||
--replace ".a" "${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
sed -i '/PKG_CONFIG_EXECUTABLE/d' renderers/CMakeLists.txt
|
||||
sed -i -e '/PKG_CONFIG_EXECUTABLE/d' -e '/PKG_CONFIG_PATH/d' renderers/CMakeLists.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
Loading…
Reference in New Issue
Block a user