From: Matthias Schwarzott Date: Thu, 21 Feb 2008 11:28:45 +0000 (+0100) Subject: volume_id: respect LDFLAGS X-Git-Tag: 174~1761 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44d01dced113203c2c3eda7cb6e34ab8fb5c88d5;p=systemd volume_id: respect LDFLAGS --- diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile index 499d4866..105549a9 100644 --- a/extras/volume_id/lib/Makefile +++ b/extras/volume_id/lib/Makefile @@ -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)