]> err.no Git - systemd/commitdiff
volume_id: respect LDFLAGS
authorMatthias Schwarzott <zzam@gentoo.org>
Thu, 21 Feb 2008 11:28:45 +0000 (12:28 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Feb 2008 11:28:45 +0000 (12:28 +0100)
extras/volume_id/lib/Makefile

index 499d486623c026de2a79ab616c4011ef78748aaf..105549a946eedc3ffbdfb275832a6da86177d860 100644 (file)
@@ -83,7 +83,7 @@ libvolume_id.a: $(HEADERS) $(OBJS)
 
 $(SHLIB): $(HEADERS) exported_symbols $(addprefix .shlib/,$(OBJS))
        $(E) "  CC      " $@
-       $(Q) $(CC) -shared $(CFLAGS) -o $@ \
+       $(Q) $(CC) -shared $(CFLAGS) $(LDFLAGS) -o $@ \
                -Wl,-soname,libvolume_id.so.$(SHLIB_CUR),--version-script,exported_symbols \
                $(addprefix .shlib/,$(OBJS))
        $(Q) ln -sf $@ libvolume_id.so.$(SHLIB_CUR)