Hi, I do not know any longer why I had to set the SHARED_CFLAGS in compile-vars.make. Just tested the following patch, which works fine here:
diff --git a/stepmake/stepmake/generic-vars.make b/stepmake/stepmake/generic-vars.make index fc7e89e..0de08f8 100644 --- a/stepmake/stepmake/generic-vars.make +++ b/stepmake/stepmake/generic-vars.make @@ -111,3 +111,8 @@ endif ifeq ($(HOST_ARCH),i386-mingw32) MINGW_BUILD = yes endif + +ifeq ($(HOST_ARCH),ppc-darwin) +DARWIN_BUILD = yes +endif + diff --git a/stepmake/stepmake/python-module-vars.make b/stepmake/stepmake/python-module-vars.make index cde4c2d..d982177 100644 --- a/stepmake/stepmake/python-module-vars.make +++ b/stepmake/stepmake/python-module-vars.make @@ -13,6 +13,9 @@ ifneq ($(MINGW_BUILD),) SHARED_MODULE_SUFFIX = .dll endif endif +ifneq ($(DARWIN_BUILD),) +SHARED_FLAGS = -bundle -flat_namespace -framework Python +endif OUT_SO_MODULES = $(addprefix $(outdir)/, $(C_FILES:.c=$(SHARED_MODULE_SUFFIX))) EXTRA_DIST_FILES += $(PY_MODULES_IN) _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel