X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build%2FMakebottom;h=7ada9532c044e65957214809cf660050d15bb62c;hb=0053f1a862cd0c2f359a4d12f0fdd35b17d18906;hp=898a8feb488a9d8c494e727efaabffb2afda6daa;hpb=84e80e693026709ce5d5e4d182ee547101e69828;p=libucw.git 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.