mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
makefiles: switch to rpath-link
Plain rpath is to invasive and gets into binary. We only want to provide hint for linker.
This commit is contained in:
parent
3f1a3b7090
commit
bbef4edd06
@ -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.
|
# This file is part of LVM2.
|
||||||
#
|
#
|
||||||
@ -26,7 +26,7 @@ ifeq ("@APPLIB@", "yes")
|
|||||||
DEPLIBS += $(top_builddir)/liblvm/liblvm2app.so $(top_builddir)/libdm/libdevmapper.so
|
DEPLIBS += $(top_builddir)/liblvm/liblvm2app.so $(top_builddir)/libdm/libdevmapper.so
|
||||||
LDFLAGS += -L$(top_builddir)/liblvm
|
LDFLAGS += -L$(top_builddir)/liblvm
|
||||||
ifeq ("@DMEVENTD@", "yes")
|
ifeq ("@DMEVENTD@", "yes")
|
||||||
LDFLAGS += -Wl,-rpath,$(top_builddir)/daemons/dmeventd
|
LDFLAGS += -Wl,-rpath-link,$(top_builddir)/daemons/dmeventd
|
||||||
endif
|
endif
|
||||||
LVMLIBS = @LVM2APP_LIB@ -ldevmapper
|
LVMLIBS = @LVM2APP_LIB@ -ldevmapper
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user