]> sourceware.org Git - lvm2.git/commitdiff
makefiles: switch to rpath-link
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 13 Oct 2015 22:51:55 +0000 (00:51 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 13 Oct 2015 22:51:55 +0000 (00:51 +0200)
Plain rpath is to invasive and gets into binary.
We only want to provide hint for linker.

scripts/Makefile.in

index bfa0fad2349ebac8fc796920a8a408d219cc1229..af2b299516840ad873611bdc70e325611c70ea5e 100644 (file)
@@ -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
This page took 0.04433 seconds and 5 git commands to generate.