From bbef4edd06097a71601b1470a713ded17deb7cba Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 14 Oct 2015 00:51:55 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Makefile.in b/scripts/Makefile.in index bfa0fad23..af2b29951 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -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 -- 2.43.5