subversion: fix compilation with full NLS
authorRosen Penev <rosenp@gmail.com>
Fri, 11 Dec 2020 02:35:29 +0000 (18:35 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 12 Dec 2020 02:18:40 +0000 (18:18 -0800)
Needs a linker flag.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/subversion/Makefile

index d12f1cb9226a7c64fa03a188dfef165c2de6ea4f..68faa591341c9ee3fa166d0926eb91b47d7409d2 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=subversion
 PKG_VERSION:=1.14.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_URL:=@APACHE/subversion
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -26,7 +26,6 @@ PKG_INSTALL:=1
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
 
-
 define Package/subversion/Default
   SECTION:=net
   CATEGORY:=Network
@@ -93,6 +92,8 @@ CONFIGURE_ARGS += \
        --with-utf8proc=internal \
        $(call autoconf_bool,INTL_FULL,nls)
 
+TARGET_LDFLAGS += $(if $(INTL_FULL),-lintl)
+
 define Package/subversion-libs/install
        $(INSTALL_DIR) $(1)/usr/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libsvn_*.so.* $(1)/usr/lib/