uxplay: fix build on darwin

This commit is contained in:
Zhong Jianxin
2024-10-10 11:11:41 +08:00
parent de79009ed9
commit af422170e7
+2 -1
View File
@@ -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 = [