1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Author: From: Tim Booth <avarus@fastmail.fm>
Last-Update: Mon, 19 Oct 2015 15:30:28 +0100
Description Apparently back in 1995 the ELF standard was tweaked to handle some
crufty behaviour of RPATH - see http://blog.tremily.us/posts/rpath/
but Debian never adopted it. But for this package we do want it, so
add the extra linker flag.
--- a/Makefile
+++ b/Makefile
@@ -201,8 +201,8 @@ ifeq ($(DEBUG),0)
endif
ifeq ($(DEBIAN),1)
- lflags += -rpath=/usr/lib/arb/lib -z relro
- clflags += -Wl,-rpath=/usr/lib/arb/lib -Wl,-z,relro
+ lflags += -rpath=/usr/lib/arb/lib -z relro --enable-new-dtags
+ clflags += -Wl,-rpath=/usr/lib/arb/lib -Wl,-z,relro,--enable-new-dtags
endif
ifeq ($(DEBUG),1)
|