X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=build%2FMakebottom;h=e2c840270933077bbf012b1a6ac67a5a99c64755;hb=eec6d2c37cbcbf9c350aa4ca80e5a316e5144087;hp=36ee4585010aa347183c718e93208540d41457b9;hpb=85ef47bacfcb558a9e3a76ab94342e4bcb932e75;p=libucw.git diff --git a/build/Makebottom b/build/Makebottom index 36ee4585..e2c84027 100644 --- a/build/Makebottom +++ b/build/Makebottom @@ -42,7 +42,7 @@ force: # Rules for configuration files -run/$(CONFIG_DIR)/%: $(s)/$(CONFIG_DIR)/% $(o)/config.mk $(BUILDSYS)/genconf +run/$(CONFIG_DIR)/%: $(s)/$(CONFIG_SRC_DIR)/% $(o)/config.mk $(BUILDSYS)/genconf $(M)CF $< $(Q)$(BUILDSYS)/genconf $< $@ $(o)/config.mk @@ -65,6 +65,7 @@ endif $(M)LD $@ $(Q)$(CC) $(LSHARED) $(LDFLAGS) -o $@ $(shell PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" $(BUILDSYS)/lib-flags $^) $(LIBS) $(Q)$(call symlink-alias,$@,run/$(SO_RUNDIR),$(*F)$(SONAME_INFIX).so$(SONAME_SUFFIX)) + # On Darwin, gcc expects shared libraries in *.dylib instead of *.so. # Surprisingly, when a program is run, it suffices to have *.so files. # We don't want to mess up the whole build system with configurable