mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: older gcc needs hint with rpath
gcc 4.3 seems not to be able to find linked library without specifying -rpath to linker (plain -L) is not enough.
This commit is contained in:
parent
ccc39be053
commit
a91fbe9d27
@ -25,6 +25,9 @@ include $(top_builddir)/make.tmpl
|
||||
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
|
||||
endif
|
||||
LVMLIBS = @LVM2APP_LIB@ -ldevmapper
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user