diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2014-01-11 12:56:46 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2014-01-11 12:56:46 +0100 |
commit | 73854ae887172448e95f9b39a2c94fd7369496d8 (patch) | |
tree | 8a43209dbe8282d55076fd46c481635e94a84c7a | |
parent | abb858ae43374dc13a5fcef19b9e0ba9442013bb (diff) |
fix compile on Darwin
-rw-r--r-- | package/taglib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/taglib/Makefile b/package/taglib/Makefile index a71973676..402b89c7f 100644 --- a/package/taglib/Makefile +++ b/package/taglib/Makefile @@ -22,7 +22,10 @@ $(eval $(call PKG_template,TAGLIB,taglib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEP CONFIG_STYLE:= manual do-configure: - (cd ${WRKBUILD} && PATH='${TARGET_PATH}' cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .) + (cd ${WRKBUILD} && PATH='${HOST_PATH}' \ + cmake -DZLIB_ROOT=$(STAGING_TARGET_DIR)/usr \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DCMAKE_SYSTEM_NAME=Linux .) pre-install: $(INSTALL_DATA) ./files/taglib.pc $(WRKBUILD)/ |