Skip to contentSkip to conversation

master - makefiles: switch to rpath-link

PATCH Zdenek Kabelac 1 participant 1 message Oct 13, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=bbef4edd06097a71601b1470a713ded17deb7cba
Commit:        bbef4edd06097a71601b1470a713ded17deb7cba
Parent:        3f1a3b7090d421d46f245454bc5c8ed299a9cc1d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Oct 14 00:51:55 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Oct 14 00:51:55 2015 +0200

makefiles: switch to rpath-link

Plain rpath is to invasive and gets into binary.
We only want to provide hint for linker.

---
 scripts/Makefile.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
scripts/Makefile.in +2 -2
index bfa0fad..af2b299 100644
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2011 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2006-2015 Red Hat, Inc. All rights reserved.
 #
 # This file is part of LVM2.
 #
@@ -26,7 +26,7 @@ ifeq ("@APPLIB@", "yes")
 	DEPLIBS += $(top_builddir)/liblvm/liblvm2app.so $(top_builddir)/libdm/libdevmapper.so
 	LDFLAGS += -L$(top_builddir)/liblvm
 ifeq ("@DMEVENTD@", "yes")
-	LDFLAGS += -Wl,-rpath,$(top_builddir)/daemons/dmeventd
+	LDFLAGS += -Wl,-rpath-link,$(top_builddir)/daemons/dmeventd
 endif
 	LVMLIBS = @LVM2APP_LIB@ -ldevmapper
 endif