X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=build%2FMakebottom;h=7ada9532c044e65957214809cf660050d15bb62c;hb=0053f1a862cd0c2f359a4d12f0fdd35b17d18906;hp=d882b0a4568b02d7be940e5bac47abc83cd11ac4;hpb=f90e54b5f81ed8385190d1b2ed4d9b871e1bf6d4;p=libucw.git diff --git a/build/Makebottom b/build/Makebottom index d882b0a4..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. @@ -74,7 +75,7 @@ endif %.dylib: %.so cd $(dir $<) && ln -fs $(notdir $<) $(notdir $@) -$(o)/%.pc: $(s)/%.pc $(o)/%.$(LS) +$(o)/%.pc: $(s)/%.pc $(o)/%$(LV).$(LS) $(M)PC $< $(Q)DEPS="$(shell $(BUILDSYS)/lib-deps $^)" LIBDIR=$(@D) $(BUILDSYS)/genconf $< $@ $(o)/config.mk $(Q)mkdir -p $(o)/pkgconfig