summaryrefslogtreecommitdiff
path: root/pyhook
diff options
context:
space:
mode:
authorpfaedit <pfaedit>2007-12-24 02:27:47 +0000
committerpfaedit <pfaedit>2007-12-24 02:27:47 +0000
commit82598c126a10573fb2b4c8670aafc0067ba8bd07 (patch)
tree70a5286e0eb47d7f38a930d1b927ab6437f4641d /pyhook
parentd4f8f1905100031781dce935212ecc7f70aa7b28 (diff)
Max Rabkin submitted a bug which points out that python hook needs to dlopen libgutils rather than libgdraw now.
Diffstat (limited to 'pyhook')
-rw-r--r--pyhook/loadfontforge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyhook/loadfontforge.h b/pyhook/loadfontforge.h
index 9a0ea8b0..92f1eff9 100644
--- a/pyhook/loadfontforge.h
+++ b/pyhook/loadfontforge.h
@@ -19,13 +19,13 @@ PyMODINIT_FUNC ENTRY_POINT(void) {
return;
}
- if ( (lib = dlopen("libgdraw" SO_EXT,RTLD_LAZY))==NULL ) {
+ if ( (lib = dlopen("libgutils" SO_EXT,RTLD_LAZY))==NULL ) {
#ifdef PREFIX
- lib = dlopen( PREFIX "/lib/" "libgdraw" SO_EXT,RTLD_LAZY);
+ lib = dlopen( PREFIX "/lib/" "libgutils" SO_EXT,RTLD_LAZY);
#endif
}
if ( lib==NULL ) {
- PyErr_Format(PyExc_SystemError,"Missing library: %s", "libgdraw");
+ PyErr_Format(PyExc_SystemError,"Missing library: %s", "libgutils");
return;
}