[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libtool uses incorrect module extension (.so instead of .dylib) under Da
From: |
Vincent Lefevre |
Subject: |
libtool uses incorrect module extension (.so instead of .dylib) under Darwin |
Date: |
Mon, 20 Mar 2006 21:56:59 +0100 |
User-agent: |
Mutt/1.5.11-vl-20060315 |
When modules are generated under Darwin (Mac OS X 10.4.5), the
extension ".so" is always used; I've been told that this comes
from libtool (there's this problem with Liferea 1.0.8, whose
tarball has been generated using libtool 1.5.22 Debian 1.5.22-4).
Unfortunately, the value of G_MODULE_SUFFIX has changed in glib2,
from what I can see:
$ grep G_MODULE_SUFFIX `locate /include/glibconfig.h`
/opt/local/lib/glib-2.0/include/glibconfig.h:#define G_MODULE_SUFFIX "dylib"
/opt/local/var/db/dports/software/glib2/2.10.1_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define
G_MODULE_SUFFIX "dylib"
/opt/local/var/db/dports/software/glib2/2.8.4_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define
G_MODULE_SUFFIX "so"
/opt/local/var/db/dports/software/glib2/2.8.5_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define
G_MODULE_SUFFIX "so"
/opt/local/var/db/dports/software/glib2/2.8.6_0/opt/local/lib/glib-2.0/include/glibconfig.h:#define
G_MODULE_SUFFIX "so"
and this breaks GTK applications under Mac OS X.
--
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
- libtool uses incorrect module extension (.so instead of .dylib) under Darwin,
Vincent Lefevre <=