From: Pavel Charvat Date: Thu, 22 May 2014 09:44:04 +0000 (+0200) Subject: Build: Added lib*.so -> lib*.so.0 symlinks to run/lib. X-Git-Tag: v6.0~29 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c1a485d5c75c2f9a49ddb8e560ce59dde1649c45;p=libucw.git Build: Added lib*.so -> lib*.so.0 symlinks to run/lib. --- diff --git a/build/Makebottom b/build/Makebottom index 898a8feb..7ada9532 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -65,6 +65,7 @@ endif $(M)LD $@ $(Q)$(CC) $(LSHARED) $(LDFLAGS) -o $@ $(shell PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" PKG_CONFIG_OPTS="$(PKG_CONFIG_OPTS)" $(BUILDSYS)/lib-flags $^) $(LIBS) $(Q)$(call symlink-alias,$@,run/$(SO_RUNDIR),$(*F)$(SONAME_INFIX).so$(SONAME_SUFFIX)) + $(Q)ln -fs $(*F)$(SONAME_INFIX).so$(SONAME_SUFFIX) run/$(SO_RUNDIR)/$(*F)$(SONAME_INFIX).so # On Darwin, gcc expects shared libraries in *.dylib instead of *.so. # Surprisingly, when a program is run, it suffices to have *.so files.