From 987314376bed055853f8f5030787d26144027493 Mon Sep 17 00:00:00 2001 From: RJ Burnham Date: Mon, 11 Jul 2016 15:00:03 -0400 Subject: [PATCH] Update python loader to load from frameworks as well as main exe (i.e. we have kivy embedded in a framework) --- recipes/python/dynload.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/python/dynload.patch b/recipes/python/dynload.patch index 7cb73f6..3c80a50 100644 --- a/recipes/python/dynload.patch +++ b/recipes/python/dynload.patch @@ -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) {