tizen: libpython2.7.so suffix
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 19 Sep 2014 09:45:11 +0000 (11:45 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 19 Sep 2014 09:45:11 +0000 (11:45 +0200)
Other distros provide a libpython2.7.so.1 symlink to the real
file. On Tizen, only the real file is available, so use that.

src/pycrosswalk.c

index a87bc13..ee01781 100644 (file)
@@ -375,7 +375,7 @@ int32_t XW_Initialize(XW_Extension extension, XW_GetInterface get_interface) {
 #if PY_MAJOR_VERSION >= 3
                         "libpython3.3m.so.1",
 #else
-                        "libpython2.7.so.1",
+                        "libpython2.7.so.1.0",
 #endif
                         RTLD_LAZY | RTLD_GLOBAL);
   if (!handle) {