From c666e8d25e724802a85489c548adc763949fdfa9 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 14 Dec 2018 16:27:27 +0100 Subject: [PATCH] dmfilemapd: avoid linking with DL_LIBS Dmfilemapd is not using dlopen so doesn't need to be linked with DL_LIBS. --- libdm/dm-tools/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdm/dm-tools/Makefile.in b/libdm/dm-tools/Makefile.in index abb0e954f..33110dc0b 100644 --- a/libdm/dm-tools/Makefile.in +++ b/libdm/dm-tools/Makefile.in @@ -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] $<"