summaryrefslogtreecommitdiff
path: root/extras/volume_id
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-02-21 12:28:45 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-02-21 12:28:45 +0100
commit44d01dced113203c2c3eda7cb6e34ab8fb5c88d5 (patch)
treee296471fcd164f5eb3e23ec31fda301cd016e079 /extras/volume_id
parent3f91a27d16cf5440f0cb1db7c5972b4924a41d01 (diff)
volume_id: respect LDFLAGS
Diffstat (limited to 'extras/volume_id')
-rw-r--r--extras/volume_id/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 499d486623..105549a946 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)