summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMilan Bouchet-Valat <nalimilan@club.fr>2015-03-27 18:05:26 +0100
committerMilan Bouchet-Valat <nalimilan@club.fr>2015-03-27 18:19:29 +0100
commit1b7ba89cdd4f8e860ff2e9e89a9d80b1cd0308f8 (patch)
tree68cdae2afe89355131a079a474984c3873a980f1 /Makefile
parent786a6e32825a90e99147d371ccd272d78b4d35ed (diff)
downloadlibutf8proc-1b7ba89cdd4f8e860ff2e9e89a9d80b1cd0308f8.tar.gz
libutf8proc-1b7ba89cdd4f8e860ff2e9e89a9d80b1cd0308f8.tar.bz2
Create additional symlinks to .so file on non-OSX
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 16ad336..628d137 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,10 @@ install: libutf8proc.a libutf8proc.$(SHLIB_EXT) libutf8proc.$(SHLIB_VERS_EXT)
$(INSTALL) -m 644 libutf8proc.a $(DESTDIR)$(libdir)
$(INSTALL) -m 755 libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)
ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.$(SHLIB_EXT)
+ifneq ($(OS),Darwin)
+ ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.so.$(MAJOR)
+ ln -f -s $(libdir)/libutf8proc.$(SHLIB_VERS_EXT) $(DESTDIR)$(libdir)/libutf8proc.so.$(MAJOR).$(MINOR)
+endif
# Test programs