void-packages/srcpkgs/libreadline8/patches/no-rpath-and-link.patch

26 lines
782 B
Diff

From 78a3bfc099027df04d01012b91e707c99eaf1c8e Mon Sep 17 00:00:00 2001
From: Daniel Kolesa <daniel@octaforge.org>
Date: Thu, 5 Nov 2020 02:49:21 +0100
Subject: [PATCH] drop rpath and link against the termcap library
---
support/shobj-conf | 2 +-
1 file changed, 1 insertions(+), 1 deletions(-)
diff --git support/shobj-conf support/shobj-conf
index 7920f1b..7ac9c9f 100644
--- a/support/shobj-conf
+++ b/support/shobj-conf
@@ -128,7 +128,7 @@ linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
SHOBJ_LD='${CC}'
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
;;
--
2.29.2