support for new SDL build in makefiles and scons for Os X
authorJean-Luc Peurière <jlp@nerim.net>
Wed, 2 Feb 2005 22:13:23 +0000 (22:13 +0000)
committerJean-Luc Peurière <jlp@nerim.net>
Wed, 2 Feb 2005 22:13:23 +0000 (22:13 +0000)
SConstruct
source/nan_definitions.mk

index 04fc91dfe5d9f65203268591cfa35923604dd197..cd7a9a62d23b115157b733623d1adb041b66b64f 100644 (file)
@@ -223,7 +223,9 @@ elif sys.platform == 'darwin':
                                                '-framework', 'Python',
                                                '-framework', 'CoreServices',
                                                '-framework', 'Foundation',
-                                               '-framework', 'OpenGL']
+                                               '-framework', 'OpenGL',
+                                               '-framework', 'IOKit' , 
+                                               '-framework', 'AppKit']
        # International stuff
        ftgl_lib = ['ftgl']
        ftgl_libpath = [darwin_precomp + 'ftgl/lib']
index 9b5e093a6bf84874ed5fe756c969e89b1f3a1c45..3b89a425b07ae73f72bb1b6b9e3bf4ac9776bf87 100644 (file)
@@ -162,7 +162,7 @@ endif
     export NAN_GETTEXT ?= $(LCGDIR)/gettext
     export NAN_SDL ?= $(LCGDIR)/sdl
     export NAN_SDLCFLAGS ?= -I$(NAN_SDL)/include
-    export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a -framework Cocoa
+    export NAN_SDLLIBS ?= $(NAN_SDL)/lib/libSDL.a -framework Cocoa  -framework IOKit
 
     # Uncomment the following line to use Mozilla inplace of netscape
     # CPPFLAGS +=-DMOZ_NOT_NET