-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Frysinger wrote:
>>* src/lib/Makefile.am, src/modules/filters/Makefile.am,
>>src/modules/loaders/Makefile.am:
>>      add '-no-undefined' to *_la_LDFLAGS;
> 
> whats the point of this ?

If this is absent, libtool refuses to build shared libraries on Cygwin,
where all symbols must be resolved at link time.

>>* src/lib/dynamic_filters.c, src/lib/image.c:
>>      RTDL_LOCAL is not defined on Cygwin;
> 
> 
> then wouldnt the somewhat sane thing be to put this in an internal header 
> file:
> #ifndef RTLD_LOCAL
> # define RTLD_LOCAL 0
> # warning "your crap box doesnt define RTLD_LOCAL !?"
> #endif

If that's how you'd rather deal with it, fine.

>>      #ifndef __imlib_TrimLoaderList, since with it in Cygwin, imlib2         
>> can't
>>find the modules
> 
> going by the comment, this looks like a bug in cygwin ?  what files does it 
> consult if you try to do dlopen("libfoo") ?

See the Cygwin dlfcn code for yourself:

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dlfcn.cc?cvsroot=src

In Cygwin, the imlib2 modules are called bumpmap.dll, colormod.dll,
bmp.dll, etc.  In addition, there are corresponding .dll.a import
libraries and .la libtool files in the same directory.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDFiTMpiWmPGlmQSMRApWXAJ0QV4faeli/MDwUlG8S8nKM7Gv9NQCeIzrP
r5xs2ijLelLA5+90DBkQ0/E=
=TSdi
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to