X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/859eee55191418ab698e58d28b8c80eb8afa582b..62be67eb01c9ee1941f8a6074fee4b297f92b6d5:/include/cmake.mk diff --git a/include/cmake.mk b/include/cmake.mk index fd8ff2d12..6c5b5eb4f 100644 --- a/include/cmake.mk +++ b/include/cmake.mk @@ -40,9 +40,9 @@ define Build/Configure/Default -DCMAKE_MODULE_LINKER_FLAGS="$(TARGET_LDFLAGS)" \ -DCMAKE_SHARED_LINKER_FLAGS="$(TARGET_LDFLAGS)" \ -DCMAKE_FIND_ROOT_PATH=$(STAGING_DIR) \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=$(STAGING_DIR_HOST) \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=$(STAGING_DIR) \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=$(STAGING_DIR) \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \ + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ -DCMAKE_STRIP=: \ -DCMAKE_INSTALL_PREFIX=/usr \ -DDL_LIBRARY=$(STAGING_DIR) \