From de305c205e3d668189e717c5385c80e1a57f5a10 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Sat, 16 Jul 2016 00:38:48 +0300 Subject: yaml-cpp: use SOURCE_DIR and BUILD_DIR variables --- src/yaml-cpp.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/yaml-cpp.mk b/src/yaml-cpp.mk index 99f60a6..d602d42 100644 --- a/src/yaml-cpp.mk +++ b/src/yaml-cpp.mk @@ -15,9 +15,10 @@ define $(PKG)_UPDATE endef define $(PKG)_BUILD - cd '$(1)' && $(TARGET)-cmake \ - -DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) + cd '$(BUILD_DIR)' && $(TARGET)-cmake \ + -DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) \ + '$(SOURCE_DIR)' - $(MAKE) -C '$(1)' -j $(JOBS) VERBOSE=1 - $(MAKE) -C '$(1)' -j $(JOBS) install + $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) VERBOSE=1 + $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) install endef -- cgit v0.12