aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-10-18 01:19:20 -0700
committerRosen Penev <rosenp@gmail.com>2021-10-21 14:45:32 -0700
commitc0aac5adab1e005445dd6856e83c998d6165630e (patch)
treef16ea7d55f6fb8e63670d98bf5951de5046d133a
parent89c2971c6effb3c1b3525cdb26e20c95013f6701 (diff)
libtasn1: don't build host shared libs
Avoids rpath hacks. Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r--libs/libtasn1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/libtasn1/Makefile b/libs/libtasn1/Makefile
index e5bf554fe..264a13a1d 100644
--- a/libs/libtasn1/Makefile
+++ b/libs/libtasn1/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libtasn1
PKG_VERSION:=4.16.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
@@ -43,6 +43,10 @@ HOST_CFLAGS += -std=gnu99
TARGET_CFLAGS += -ffunction-sections -fdata-sections
TARGET_LDFLAGS += -Wl,--gc-sections
+HOST_CONFIGURE_ARGS += \
+ --disable-shared \
+ --with-pic
+
CONFIGURE_ARGS += \
--disable-doc \
--disable-gcc-warnings \