diff options
| author | Rosen Penev <rosenp@gmail.com> | 2020-08-03 20:03:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-03 20:03:12 -0700 |
| commit | f9daa828e02155977a09b0eef128b462ca8e0f1b (patch) | |
| tree | 044f7082e6682c1a906bb96ae36a29f131c76545 | |
| parent | 705d25d5a1ac6c06ad3189ed5c8a13f54db22dd9 (diff) | |
| parent | 2d3a84f0fe7b6e830ec6ba10fac98f3eb553247d (diff) | |
Merge pull request #12999 from jjm2473/libtasn1-support-host-compile
libtasn1: add host build
| -rw-r--r-- | libs/libtasn1/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/libtasn1/Makefile b/libs/libtasn1/Makefile index 672807155..940b2eeb7 100644 --- a/libs/libtasn1/Makefile +++ b/libs/libtasn1/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtasn1 PKG_VERSION:=4.12 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) @@ -21,6 +21,7 @@ PKG_LICENSE_FILES:=COPYING.LIB PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk define Package/libtasn1 SECTION:=libs @@ -43,7 +44,8 @@ CONFIGURE_ARGS += \ --enable-static define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/bin + # $(INSTALL_DIR) $(1)/usr/bin + # $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/libtasn1.h $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib @@ -57,4 +59,5 @@ define Package/libtasn1/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(1)/usr/lib/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,libtasn1)) |
