aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-06-20 18:48:27 +0200
committerJay Berkenbilt <ejb@ql.org>2012-06-20 21:18:12 +0200
commit92c94e7df230dd86eb46e8edf8e9d92531d5f6ef (patch)
treec64e1c979f910884bddd47d42cf9a7913cb56cc4 /libqpdf
parent81fc594342925137b55b3decb4992b283a52967f (diff)
downloadqpdf-92c94e7df230dd86eb46e8edf8e9d92531d5f6ef.tar.zst
Add symbol versioning
For ELF systems, turn on versioned symbols by default, and add a configure option to enable or disable them.
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/build.mk b/libqpdf/build.mk
index ec770c23..c5549202 100644
--- a/libqpdf/build.mk
+++ b/libqpdf/build.mk
@@ -64,6 +64,8 @@ $(OBJS_libqpdf): libqpdf/$(OUTPUT_DIR)/%.$(LOBJ): libqpdf/%.cc
#
# * If any interfaces have been removed or changed, we are not binary
# compatible. Increment CURRENT, and set AGE and REVISION to 0.
+# Also update libqpdf.map, changing the numeric portion to match
+# CURRENT.
#
# * Otherwise, if any interfaces have been added since the last
# public release, then increment CURRENT and AGE, and set REVISION
@@ -72,4 +74,4 @@ $(OBJS_libqpdf): libqpdf/$(OUTPUT_DIR)/%.$(LOBJ): libqpdf/%.cc
# * Otherwise, increment REVISION
$(TARGETS_libqpdf): $(OBJS_libqpdf)
- $(call makelib,$(OBJS_libqpdf),$@,$(LDFLAGS),$(LIBS),7,1,4)
+ $(call makelib,$(OBJS_libqpdf),$@,$(LDFLAGS),$(LIBS),8,0,0)