From a1f1303ae3ef9dbced4ce20624703edafe463c1b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 28 Oct 2021 17:30:16 -0700 Subject: [PATCH] lib4cplus: update to 2.0.7 Switch to static lib. Avoids rpath hacks. Signed-off-by: Rosen Penev --- libs/log4cplus/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/log4cplus/Makefile b/libs/log4cplus/Makefile index dcdd9f3e8..ba03d9c0a 100644 --- a/libs/log4cplus/Makefile +++ b/libs/log4cplus/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=log4cplus -PKG_VERSION:=2.0.6 +PKG_VERSION:=2.0.7 PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/$(PKG_NAME) -PKG_HASH:=73519a5e47c40cf375aa6cd28a703b01908b5dcd3f4cb4290db2fef237c8180c +PKG_HASH:=8f74a0a5920ba044b24e2ebeb0f1e5e36d85d5c23ed48d9fe328882b16130db8 PKG_MAINTAINER:=BangLang Huang , Rosy Song PKG_LICENSE:=BSD-2-Clause Apache-2.0 @@ -43,11 +43,12 @@ endef OPTIONS:= \ -DLOG4CPLUS_BUILD_LOGGINGSERVER:BOOL=OFF \ -DLOG4CPLUS_BUILD_TESTING:BOOL=OFF \ + -DLOG4CPLUS_ENABLE_DECORATED_LIBRARY_NAME:BOOL=OFF \ -DUNICODE:BOOL=OFF \ -DWITH_ICONV:BOOL=OFF -CMAKE_HOST_OPTIONS += $(OPTIONS) -CMAKE_OPTIONS += $(OPTIONS) +CMAKE_HOST_OPTIONS += $(OPTIONS) -DBUILD_SHARED_LIBS=OFF +CMAKE_OPTIONS += $(OPTIONS) -DBUILD_SHARED_LIBS=ON TARGET_CFLAGS += -flto TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed