Re: storage-modules libtool hackery



On 17 Apr 2001 04:20:37 +0500, Dan Winship wrote:
> storage-modules/Makefile.am does:
> 
> libstorage_efs_la_LDFLAGS =                   \
>         $(common_ldflags)                     \
>         -L$(shell pwd)/$(top_builddir)/libefs/src/.libs\
>         -lefs
> 
> which is presumably a hack to link one shared library against another
> uninstalled shared library (which libtool does not support). This idiom
> breaks in CVS versions of libtool, although taking out the ".libs" makes
> it work.
> 
> (The reason libtool doesn't support this is that on some OSes, if you
> link a library against a shared library in the build tree, the resulting
> library will hardcode that path and require that the dependent shared
> library is still there in the build tree at runtime. I don't know if
> this includes any OSes that GNOME builds on though.)

hp-ux.

jacob
-- 
"...it shoulda been 'Glee Club'." -- David Fincher







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]