aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/Makefile.in
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-03-26 00:32:27 +0100
committerMihai Moldovan <ionic@ionic.de>2015-03-26 00:32:27 +0100
commitd86ce9c7a44118082612c3cfb3a866b9f8f6098f (patch)
tree8b9664a78aa7c7a817aa15957d95e0ceb3927eda /nxcompshad/Makefile.in
parentfcb2cb5e00c19c7ed0fab137db97faee69c4e147 (diff)
downloadnx-libs-d86ce9c7a44118082612c3cfb3a866b9f8f6098f.tar.gz
nx-libs-d86ce9c7a44118082612c3cfb3a866b9f8f6098f.tar.bz2
nx-libs-d86ce9c7a44118082612c3cfb3a866b9f8f6098f.zip
nxcomp{,ext,shad}: only use the first three numbers in the full version for current_version on OS X. ld(1) on 10.6 fails otherwise.
Diffstat (limited to 'nxcompshad/Makefile.in')
-rw-r--r--nxcompshad/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/nxcompshad/Makefile.in b/nxcompshad/Makefile.in
index 5ea286395..41d644f5e 100644
--- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in
@@ -107,7 +107,8 @@ ifeq ($(shell uname),Darwin)
LIBFULL = lib$(LIBRARY).$(VERSION).dylib
LIBLOAD = lib$(LIBRARY).$(LIBVERSION).dylib
LIBSHARED = lib$(LIBRARY).dylib
-LIBFLAGS = -install_name $(libdir)/$(LIBLOAD) -compatibility_version $(LIBVERSION) -current_version $(VERSION)
+COMP_VER = $(shell echo '$(VERSION)' | cut -d '.' -f 1-3)
+LIBFLAGS = -install_name $(libdir)/$(LIBLOAD) -compatibility_version $(LIBVERSION) -current_version $(COMP_VER)
else
LIBFULL = lib$(LIBRARY).so.$(VERSION)
LIBLOAD = lib$(LIBRARY).so.$(LIBVERSION)