1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

dmfilemapd: avoid linking with DL_LIBS

Dmfilemapd is not using dlopen so doesn't need to be linked with
DL_LIBS.
This commit is contained in:
Zdenek Kabelac 2018-12-14 16:27:27 +01:00
parent f514e37978
commit c666e8d25e

View File

@ -82,12 +82,12 @@ ifeq ("@BUILD_DMFILEMAPD@", "yes")
dmfilemapd: $(LIB_SHARED) dmfilemapd.o
@echo " [CC] $<"
$(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
@echo " [CC] $<"
$(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
@echo " [INSTALL] $<"