Commits

Ivan Vučica committed c6913f1

Forcing use of dladdr branch in objc-load code.

  • Participants
  • Parent commits 4fcf4dd

Comments (0)

Files changed (2)

File patches/02-ivucica-gsbase-objc-load-force_dladdr_branch.patch

+Index: Source/objc-load.m
+===================================================================
+--- Source/objc-load.m	(revision 36630)
++++ Source/objc-load.m	(working copy)
+@@ -236,7 +236,7 @@
+   return 0;
+ }
+ 
+-
++#define LINKER_GETSYMBOL 1
+ #ifdef __MINGW__
+ // FIXME: We can probably get rid of this now - MinGW should include a working
+ // dladdr() wrapping this function, so we no longer need a Windows-only code

File phases/45-patch-gnustep-base.sh

 
 #patch -p1 < ${ANDROID_GNUSTEP_SCRIPT_ROOT}/patches/00-emmanuel-gsbase_configure_ac.patch
 patch -p1 < ${ANDROID_GNUSTEP_SCRIPT_ROOT}/patches/01-ivucica-gsbase-timezone-daylight.patch
+patch -p1 < ${ANDROID_GNUSTEP_SCRIPT_ROOT}/patches/02-ivucica-gsbase-objc-load-force_dladdr_branch.patch
 
 # tell gnustep-base that we DO have an objc2 runtime
 svn revert cross.config