From c1a485d5c75c2f9a49ddb8e560ce59dde1649c45 Mon Sep 17 00:00:00 2001 From: Pavel Charvat Date: Thu, 22 May 2014 11:44:04 +0200 Subject: [PATCH] Build: Added lib*.so -> lib*.so.0 symlinks to run/lib. --- build/Makebottom | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5