summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/Makefile
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-05-17 20:09:24 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-17 20:09:24 +0200
commitb10941c08db89f52038e19ee8a29f26d7808a448 (patch)
treea456c4e24d9ed0a79ad3f10afd29e353336c2b41 /extras/volume_id/lib/Makefile
parent2f2c4fa442f33d7eaee02eda016d6149b9aa0be6 (diff)
volume_id: add and export string encoding function
Needed for mount(8) to lookup LABEL=* in /dev/disk/by-label/*. Characters not suited for a filename will be escaped and the encoded LABEL=* string is able to find the corresponding symlink.
Diffstat (limited to 'extras/volume_id/lib/Makefile')
-rw-r--r--extras/volume_id/lib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/lib/Makefile b/extras/volume_id/lib/Makefile
index 17992ba02e..328758d039 100644
--- a/extras/volume_id/lib/Makefile
+++ b/extras/volume_id/lib/Makefile
@@ -13,7 +13,7 @@ INSTALL_DATA = ${INSTALL} -m 644
INSTALL_LIB = ${INSTALL} -m 755
SHLIB_CUR = 0
-SHLIB_REV = 77
+SHLIB_REV = 78
SHLIB_AGE = 0
SHLIB = libvolume_id.so.$(SHLIB_CUR).$(SHLIB_REV).$(SHLIB_AGE)
@@ -81,7 +81,7 @@ libvolume_id.a: $(HEADERS) $(OBJS)
$(E) " RANLIB " $@
$(Q) $(RANLIB) $@
-$(SHLIB): $(HEADERS) $(addprefix .shlib/,$(OBJS))
+$(SHLIB): $(HEADERS) exported_symbols $(addprefix .shlib/,$(OBJS))
$(E) " CC " $@
$(Q) $(CC) -shared $(CFLAGS) -o $@ \
-Wl,-soname,libvolume_id.so.$(SHLIB_CUR),--version-script,exported_symbols \