summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-03-28 02:52:58 +0200
committerKay Sievers <kay.sievers@suse.de>2006-03-28 02:52:58 +0200
commit92da64c700371126ee3bde79f983e0b3056d9442 (patch)
tree2143d7f8aca767aa7753cf6cf2de33014293fe51 /extras/volume_id/lib/Makefile
parentd5618ac96913efa0b52501b6a5c690bee6a33517 (diff)
volume_id: define exported symbols
Diffstat (limited to 'extras/volume_id/lib/Makefile')
-rw-r--r--extras/volume_id/lib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 6a12f0e67a..f69df5f5ca 100644
--- a/extras/volume_id/lib/Makefile
+++ b/extras/volume_id/lib/Makefile
@@ -81,7 +81,9 @@ libvolume_id.a: $(HEADERS) $(OBJS)
$(SHLIB): $(HEADERS) .shlib $(addprefix .shlib/,$(OBJS))
$(E) " CC " $@
- $(Q) $(CC) -shared $(CFLAGS) -o $@ -Wl,-soname,libvolume_id.so.$(SHLIB_CUR) $(addprefix .shlib/,$(OBJS))
+ $(Q) $(CC) -shared $(CFLAGS) -o $@ \
+ -Wl,-soname,libvolume_id.so.$(SHLIB_CUR),--version-script,exported_symbols \
+ $(addprefix .shlib/,$(OBJS))
$(Q) ln -sf $@ libvolume_id.so.$(SHLIB_CUR)
$(Q) ln -sf $@ libvolume_id.so