  	return NULL;
 Index: dyncall/dynload/dynload_unix.c
 ===================================================================
---- dyncall/dynload/dynload_unix.c	(revision 1284)
+--- dyncall/dynload/dynload_unix.c	(revision 1354)
 +++ dyncall/dynload/dynload_unix.c	(working copy)
 @@ -40,7 +40,7 @@
  
  DLLib* dlLoadLibrary(const char* libPath)
  {
--  return (DLLib*)dlopen(libPath,RTLD_NOW);
-+  return (DLLib*)dlopen(libPath, RTLD_LAZY | RTLD_GLOBAL);
+-  return (DLLib*)dlopen(libPath,RTLD_NOW|RTLD_GLOBAL);
++  return (DLLib*)dlopen(libPath,RTLD_LAZY|RTLD_GLOBAL);
  }
  
  
-Index: dyncall/buildsys/gmake/os/android.gmake
-===================================================================
---- dyncall/buildsys/gmake/os/android.gmake	(revision 0)
-+++ dyncall/buildsys/gmake/os/android.gmake	(revision 0)
-@@ -0,0 +1,29 @@
-+#//////////////////////////////////////////////////////////////////////////////
-+#
-+# Copyright (c) 2007,2009 Daniel Adler <dadler@uni-goettingen.de>, 
-+#                         Tassilo Philipp <tphilipp@potion-studios.com>
-+#
-+# Permission to use, copy, modify, and distribute this software for any
-+# purpose with or without fee is hereby granted, provided that the above
-+# copyright notice and this permission notice appear in all copies.
-+#
-+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
-+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-+#
-+#//////////////////////////////////////////////////////////////////////////////
-+
-+DLL_PREFIX=lib
-+DLL_SUFFIX=.so
-+
-+LIBTOOL_STATIC=$(CONFIG_ANDROID_TOOLS_PREFIX)ar rcs $@ $^
-+
-+# Make sure TARGET_MACH variable equals TARGET_ARCH
-+TARGET_MACH?=$(TARGET_ARCH)
-+
-+include $(GMAKE_TOP)/tool/$(BUILD_TOOL).gmake
-+
 Index: dyncall/buildsys/gmake/os/darwin.gmake
 ===================================================================
---- dyncall/buildsys/gmake/os/darwin.gmake	(revision 1284)
+--- dyncall/buildsys/gmake/os/darwin.gmake	(revision 1354)
 +++ dyncall/buildsys/gmake/os/darwin.gmake	(working copy)
 @@ -23,7 +23,8 @@
  LIBTOOL_STATIC=libtool -static -o $@ $^

 ifdef BUILD_ARCH_ppc32
Index: dyncall/buildsys/gmake/tool/gcc.gmake
===================================================================
--- dyncall/buildsys/gmake/tool/gcc.gmake	(revision 1284)
+++ dyncall/buildsys/gmake/tool/gcc.gmake	(working copy)
@@ -86,6 +86,13 @@
 

 # --- Compile C++ -------------------------------------------------------------
 
 $(BUILD_DIR)/%.o: %.cpp
