]> git.donarmstrong.com Git - lilypond.git/commitdiff
Johannes Schindlin's OSX compatibility patch.
authorGraham Percival <graham@percival-music.ca>
Sun, 11 Dec 2005 18:08:55 +0000 (18:08 +0000)
committerGraham Percival <graham@percival-music.ca>
Sun, 11 Dec 2005 18:08:55 +0000 (18:08 +0000)
ChangeLog
THANKS
stepmake/stepmake/generic-vars.make
stepmake/stepmake/python-module-vars.make

index 19abb838eefef22b089482fd518f687b386740f6..3b81c34a053afc05702a8207570e9efa85f2f914 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-12-11  Graham Percival  <gpermus@gmail.com>
+
+       * stepmake/stepmake/generic-vars.make: define DARWIN_BUILD.
+
+       * stepmake/stepmake/python-modules-vars.make: define
+       SHARED_FLAGS for OSX.  Thanks Johannes Schindelin!
+
+       * THANKS: added Johannes Schindelin.
+
 2005-12-10  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
        * python/midi.c (pymidi_parse): use memcmp() iso. strcmp().
diff --git a/THANKS b/THANKS
index 6a8d315dec2b7abff27220b3249661048219542c..e7956267cd9575af923d97fca1071e286369e822 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -16,6 +16,7 @@ Bruce Fairchild
 Cameron Horsburgh
 Heikki Junes
 Joe Neeman
+Johannes Schindelin
 Nicolas Sceaux
 Sven Axelsson
 Werner Lemberg
index fc7e89e2f5236de891265078076afabe62b69db0..8f8e2362f60fcba446fb699b98948968adaabca9 100644 (file)
@@ -111,3 +111,6 @@ endif
 ifeq ($(HOST_ARCH),i386-mingw32)
 MINGW_BUILD = yes
 endif
+ifeq ($(HOST_ARCH),ppc-darwin)
+DARWIN_BUILD = yes
+endif
index cde4c2d405222205cd13d0e06f6d9f3f39bba003..d982177587d26eec38f970e300a207e81aef5120 100644 (file)
@@ -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)