Update python loader to load from frameworks as well as main exe (i.e. we have kivy embedded in a framework)

This commit is contained in:
RJ Burnham 2016-07-11 15:00:03 -04:00
parent e4e4c1cd89
commit 987314376b

View file

@ -10,7 +10,7 @@
+ * of trying to dlopen, directly do the dlsym.
+ * -- Mathieu
+ */
+ return (dl_funcptr) dlsym(RTLD_MAIN_ONLY, funcname);
+ return (dl_funcptr) dlsym(RTLD_SELF, funcname);
+
+#if 0
if (fp != NULL) {