imac:esl brian$ svn diff
Index: ruby/Makefile
===================================================================
--- ruby/Makefile (revision 13432)
+++ ruby/Makefile (working copy)
@@ -1,6 +1,7 @@
## no idea how to simply ask ruby which one to use
LOCAL_CFLAGS=-I$(shell ruby -e 'require "rbconfig"; puts RbConfig::CONFIG["topdir"]')
LOCAL_LDFLAGS=$(shell ruby -e 'require "rbconfig"; puts RbConfig::CONFIG["LIBRUBYARG"]')
+LOCAL_LDFLAGS += -framework Ruby
all: ESL.so
Index: ruby/esl_wrap.cpp
===================================================================
--- ruby/esl_wrap.cpp (revision 13432)
+++ ruby/esl_wrap.cpp (working copy)
@@ -823,7 +823,7 @@
-#include <ruby.h>
+#include <ruby/ruby.h>
/* Remove global macros defined in Ruby's win32.h */
#ifdef write
Index: Makefile
===================================================================
--- Makefile (revision 13432)
+++ Makefile (working copy)
@@ -12,7 +12,7 @@
OBJS=src/esl.o src/esl_event.o src/esl_threadmutex.o src/esl_config.o
SRC=src/esl.c src/esl_event.c src/esl_threadmutex.c src/esl_config.c src/esl_oop.cpp
HEADERS=src/include/esl_config.h src/include/esl_event.h src/include/esl.h src/include/esl_threadmutex.h src/include/esl_oop.h
-SOLINK=-shared -Xlinker -x
+SOLINK=-dynamiclib -Xlinker -x
# comment the next line to disable c++ (no swig mods for you then)
OBJS += src/esl_oop.o
/b