aboutsummaryrefslogtreecommitdiff
path: root/depends/packages/native_libdmg-hfsplus.mk
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-08-07 20:52:22 -0400
committerCarl Dong <contact@carldong.me>2020-08-07 20:52:22 -0400
commit3ecf0eca634601da216b06f091f95456c047f39c (patch)
treec865d6ba0923843f592bd412e33612862822fe8a /depends/packages/native_libdmg-hfsplus.mk
parent4b705b1c98f60ab736df98d62a8d4988f61678d5 (diff)
depends: Use $($(package)_cmake) instead of cmake
Diffstat (limited to 'depends/packages/native_libdmg-hfsplus.mk')
-rw-r--r--depends/packages/native_libdmg-hfsplus.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/native_libdmg-hfsplus.mk b/depends/packages/native_libdmg-hfsplus.mk
index c0f0ce74de..035b767188 100644
--- a/depends/packages/native_libdmg-hfsplus.mk
+++ b/depends/packages/native_libdmg-hfsplus.mk
@@ -12,7 +12,7 @@ define $(package)_preprocess_cmds
endef
define $(package)_config_cmds
- cmake -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix) -DCMAKE_C_FLAGS="-Wl,--build-id=none" ..
+ $($(package)_cmake) -DCMAKE_C_FLAGS="$$($(1)_cflags) -Wl,--build-id=none" ..
endef
define $(package)_build_cmds