diff options
| author | Karl Palsson <karlp@tweak.net.au> | 2020-12-14 15:09:32 +0000 |
|---|---|---|
| committer | Karl Palsson <karlp@tweak.net.au> | 2020-12-14 15:13:06 +0000 |
| commit | 0a3e0114ce9a1badc82fb80b5f15aba37b9c672b (patch) | |
| tree | 7281b9b23bf51cb860e9012edda5d78860bf99b1 /libs/cjson | |
| parent | 8256509fe860ba558999818373d9d99908519817 (diff) | |
libs: cjson: correctly install to named include paths
Supports the more traditional "#include <cjson/cJSON.h>"
instead of dropping them in the root.
Signed-off-by: Karl Palsson <karlp@etactica.com>
Diffstat (limited to 'libs/cjson')
| -rw-r--r-- | libs/cjson/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/cjson/Makefile b/libs/cjson/Makefile index 4ba327b76..9aff81c18 100644 --- a/libs/cjson/Makefile +++ b/libs/cjson/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cJSON PKG_VERSION:=1.7.14 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/DaveGamble/cJSON/tar.gz/v$(PKG_VERSION)? @@ -39,8 +39,8 @@ CMAKE_OPTIONS += -DENABLE_CJSON_TEST=OFF define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libcjson.pc $(1)/usr/lib/pkgconfig - $(INSTALL_DIR) $(1)/usr/include - $(CP) $(PKG_INSTALL_DIR)/usr/include/cjson/cJSON.h $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/include/cjson + $(CP) $(PKG_INSTALL_DIR)/usr/include/cjson/cJSON.h $(1)/usr/include/cjson $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libcjson.so* $(1)/usr/lib/ endef |
