Merge pull request #204 from sighthoundinc/master

Update python loader to load from frameworks as well as main exe (i.e…
This commit is contained in:
Richard Larkin 2016-11-09 23:28:49 +02:00 committed by GitHub
commit 81121838c9

View file

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