mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
dmfilemapd: avoid linking with DL_LIBS
Dmfilemapd is not using dlopen so doesn't need to be linked with
DL_LIBS.
(cherry picked from commit c666e8d25e
)
This commit is contained in:
parent
01943774cd
commit
48a7502c57
@ -82,12 +82,12 @@ ifeq ("@BUILD_DMFILEMAPD@", "yes")
|
|||||||
dmfilemapd: $(LIB_SHARED) dmfilemapd.o
|
dmfilemapd: $(LIB_SHARED) dmfilemapd.o
|
||||||
@echo " [CC] $<"
|
@echo " [CC] $<"
|
||||||
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) \
|
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) \
|
||||||
-o $@ dmfilemapd.o -L$(top_builddir)/libdm -ldevmapper $(DL_LIBS) $(LIBS)
|
-o $@ dmfilemapd.o -L$(top_builddir)/libdm -ldevmapper $(LIBS)
|
||||||
|
|
||||||
dmfilemapd.static: $(LIB_STATIC) dmfilemapd.o
|
dmfilemapd.static: $(LIB_STATIC) dmfilemapd.o
|
||||||
@echo " [CC] $<"
|
@echo " [CC] $<"
|
||||||
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) -static -L$(interfacebuilddir) \
|
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(ELDFLAGS) -static -L$(interfacebuilddir) \
|
||||||
-o $@ dmfilemapd.o $(DL_LIBS) $(LIBS) $(STATIC_LIBS)
|
-o $@ dmfilemapd.o $(LIBS) $(STATIC_LIBS)
|
||||||
|
|
||||||
install_dmfilemapd_dynamic: dmfilemapd
|
install_dmfilemapd_dynamic: dmfilemapd
|
||||||
@echo " [INSTALL] $<"
|
@echo " [INSTALL] $<"
|
||||||
|
Loading…
Reference in New Issue
Block a user