Browse Source

treewide: remove rpath-link

Most usages seem to be outdated and fixed a long time ago.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 3 years ago
parent
commit
196e15162d
10 changed files with 12 additions and 30 deletions
  1. +1
    -3
      libs/libcups/Makefile
  2. +2
    -2
      multimedia/fswebcam/Makefile
  3. +1
    -2
      net/nfs-kernel-server/Makefile
  4. +0
    -2
      net/strongswan/Makefile
  5. +2
    -2
      net/vnstat/Makefile
  6. +1
    -2
      sound/owntone/Makefile
  7. +0
    -4
      sound/sox/Makefile
  8. +2
    -2
      utils/bandwidthd/Makefile
  9. +2
    -9
      utils/mbtools/Makefile
  10. +1
    -2
      utils/owfs/Makefile

+ 1
- 3
libs/libcups/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=cups PKG_NAME:=cups
PKG_VERSION:=2.2.12 PKG_VERSION:=2.2.12
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.gz
PKG_SOURCE_URL:=https://github.com/apple/cups/releases/download/v$(PKG_VERSION)/ PKG_SOURCE_URL:=https://github.com/apple/cups/releases/download/v$(PKG_VERSION)/
@ -40,8 +40,6 @@ define Package/libcups/description
Common UNIX Printing System - Core library Common UNIX Printing System - Core library
endef endef
TARGET_LDFLAGS+=-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS+=--with-cups-user="nobody" \ CONFIGURE_ARGS+=--with-cups-user="nobody" \
--with-cups-group="nogroup" \ --with-cups-group="nogroup" \
--with-components="core" \ --with-components="core" \


+ 2
- 2
multimedia/fswebcam/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fswebcam PKG_NAME:=fswebcam
PKG_VERSION:=20140113 PKG_VERSION:=20140113
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://www.firestorm.cx/fswebcam/files \ PKG_SOURCE_URL:=http://www.firestorm.cx/fswebcam/files \
@ -40,7 +40,7 @@ define Package/fswebcam/description
endef endef
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
define Package/fswebcam/install define Package/fswebcam/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin


+ 1
- 2
net/nfs-kernel-server/Makefile View File

@ -100,8 +100,7 @@ TARGET_CFLAGS += -Wno-error=implicit-function-declaration \
-Wno-error=undef \ -Wno-error=undef \
-Wno-error=missing-include-dirs -Wno-error=missing-include-dirs
TARGET_LDFLAGS += -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
-L$(STAGING_DIR)/usr/lib/libevent
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib/libevent
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--disable-caps \ --disable-caps \


+ 0
- 2
net/strongswan/Makefile View File

@ -478,8 +478,6 @@ CONFIGURE_ARGS+= \
) \ ) \
ac_cv_search___atomic_load=no ac_cv_search___atomic_load=no
EXTRA_LDFLAGS+= -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
define Package/strongswan/conffiles define Package/strongswan/conffiles
/etc/strongswan.conf /etc/strongswan.conf
/etc/strongswan.d/ /etc/strongswan.d/


+ 2
- 2
net/vnstat/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vnstat PKG_NAME:=vnstat
PKG_VERSION:=1.18 PKG_VERSION:=1.18
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://humdi.net/vnstat PKG_SOURCE_URL:=http://humdi.net/vnstat
@ -71,7 +71,7 @@ define Build/Compile/vnstati
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib" \
LDFLAGS="$(TARGET_LDFLAGS)" \
all all
endef endef


+ 1
- 2
sound/owntone/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=owntone PKG_NAME:=owntone
PKG_VERSION:=28.2 PKG_VERSION:=28.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/owntone/owntone-server/releases/download/$(PKG_VERSION)/ PKG_SOURCE_URL:=https://github.com/owntone/owntone-server/releases/download/$(PKG_VERSION)/
@ -58,7 +58,6 @@ CONFIGURE_ARGS += \
--without-libevent_pthreads --without-libevent_pthreads
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
TARGET_LDFLAGS += -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
define Package/owntone/install define Package/owntone/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin


+ 0
- 4
sound/sox/Makefile View File

@ -17,14 +17,10 @@ PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_LICENSE:=LGPL-2.1 GPL-2.0 PKG_LICENSE:=LGPL-2.1 GPL-2.0
PKG_LICENSE_FILES:=COPYING LICENSE.LGPL LICENSE.GPL PKG_LICENSE_FILES:=COPYING LICENSE.LGPL LICENSE.GPL
PKG_INSTALL:=1 PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
TARGET_LDFLAGS+= \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
define Package/sox define Package/sox
SECTION:=sound SECTION:=sound
CATEGORY:=Sound CATEGORY:=Sound


+ 2
- 2
utils/bandwidthd/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bandwidthd PKG_NAME:=bandwidthd
PKG_VERSION:=2.0.1-35 PKG_VERSION:=2.0.1-35
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/NethServer/bandwidthd/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/NethServer/bandwidthd/tar.gz/$(PKG_VERSION)?
@ -139,7 +139,7 @@ CONFIGURE_ARGS += \
endif endif
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -fgnu89-inline EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -fgnu89-inline
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
define Package/bandwidthd/install define Package/bandwidthd/install
$(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_DIR) $(1)/usr/sbin


+ 2
- 9
utils/mbtools/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mbtools PKG_NAME:=mbtools
PKG_SOURCE_DATE:=2014-10-29 PKG_SOURCE_DATE:=2014-10-29
PKG_SOURCE_VERSION:=149e9c69cec180f18cf8781cf5285b97352bf719 PKG_SOURCE_VERSION:=149e9c69cec180f18cf8781cf5285b97352bf719
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/webstack/mbtools PKG_SOURCE_URL:=https://github.com/webstack/mbtools
@ -31,7 +31,7 @@ define Package/mbtools
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=Modbus tools TITLE:=Modbus tools
DEPENDS:=+glib2 +libmodbus $(INTL_DEPENDS)
DEPENDS:=+glib2 +libmodbus
endef endef
define Package/mbtools/description define Package/mbtools/description
@ -40,13 +40,6 @@ define Package/mbtools/description
as client or server (in TCP or RTU) as client or server (in TCP or RTU)
endef endef
ifneq ($(INTL_FULL),)
TARGET_LDFLAGS += \
-L$(INTL_PREFIX)/lib \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
endif
define Package/mbtools/install define Package/mbtools/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbrecorder $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mbrecorder $(1)/usr/bin/


+ 1
- 2
utils/owfs/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=owfs PKG_NAME:=owfs
PKG_VERSION:=3.2p4 PKG_VERSION:=3.2p4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/owfs/owfs/releases/download/v$(PKG_VERSION) PKG_SOURCE_URL:=https://github.com/owfs/owfs/releases/download/v$(PKG_VERSION)
@ -201,7 +201,6 @@ CONFIGURE_ARGS += \
$(if $(CONFIG_LIBOW_OWTRAFFIC),--enable-owtraffic,--disable-owtraffic) $(if $(CONFIG_LIBOW_OWTRAFFIC),--enable-owtraffic,--disable-owtraffic)
CONFIGURE_VARS += \ CONFIGURE_VARS += \
LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link=$(STAGING_DIR)/usr/lib -Wl,-rpath-link=$(TOOLCHAIN_DIR)/usr/lib" \
lt_cv_sys_lib_dlsearch_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \ lt_cv_sys_lib_dlsearch_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
lt_cv_sys_lib_search_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \ lt_cv_sys_lib_search_path_spec="$(STAGING_DIR)/lib $(STAGING_DIR)/usr/lib" \
shrext_cmds=".so" \ shrext_cmds=".so" \


Loading…
Cancel
Save