aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-14 13:54:50 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-14 13:54:50 +0200
commitfcfb66ba9b6e8e8026fa38ea99e0458b31321217 (patch)
treefa52ef230a2ffc2a7fcb43e07b92ed1380af8368 /common.mak
parent64ceeac26a441ede6eaf4bb99a5c3224b1803745 (diff)
parentc1aac39eaccd32dc3b74ccfcce701d3d888fbc6b (diff)
downloadffmpeg-fcfb66ba9b6e8e8026fa38ea99e0458b31321217.tar.gz
Merge commit 'c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b'
* commit 'c1aac39eaccd32dc3b74ccfcce701d3d888fbc6b': build: add Solaris symbol versioning Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.mak b/common.mak
index 7569d35bb1..d611ef8cad 100644
--- a/common.mak
+++ b/common.mak
@@ -81,7 +81,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(Q)echo '#include "$*.h"' >$@
%.ver: %.v
- $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
+ $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
+/' -e 's/; /;\
+/g' > $@
%.c %.h: TAG = GEN
@@ -147,7 +149,7 @@ $(TOOLOBJS): | tools
OBJDIRS := $(OBJDIRS) $(dir $(OBJS) $(HOBJS) $(HOSTOBJS) $(SLIBOBJS) $(TESTOBJS))
-CLEANSUFFIXES = *.d *.o *~ *.h.c *.map *.ver *.ho *.gcno *.gcda *$(DEFAULT_YASMD).asm
+CLEANSUFFIXES = *.d *.o *~ *.h.c *.map *.ver *.ver-sol2 *.ho *.gcno *.gcda *$(DEFAULT_YASMD).asm
DISTCLEANSUFFIXES = *.pc
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a