From c0aac5adab1e005445dd6856e83c998d6165630e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 18 Oct 2021 01:19:20 -0700 Subject: [PATCH] libtasn1: don't build host shared libs Avoids rpath hacks. Signed-off-by: Rosen Penev --- libs/libtasn1/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/libtasn1/Makefile b/libs/libtasn1/Makefile index e5bf554fe7..264a13a1d9 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 \ -- 2.30.2