pe-util: use only mxe boost for native build

fixes #2425
This commit is contained in:
Tony Theodore 2019-11-03 17:34:42 +11:00
parent 3844cb8833
commit 6dfdebbc0d
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ define $(PKG)_BUILD_$(BUILD)
# build and install the binary
cd '$(BUILD_DIR)' && cmake '$(SOURCE_DIR)' \
-DCMAKE_INSTALL_PREFIX='$(PREFIX)/$(TARGET)' \
-DBOOST_ROOT='$(PREFIX)/$(TARGET)' \
-DBoost_NO_SYSTEM_PATHS=ON \
-DCMAKE_CXX_FLAGS='-I$(PREFIX)/$(TARGET)/include'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install