Re: building a shared library that depends on a static library

2006-03-04 Thread Ralf Wildenhues
Hi Jason, * Jason Kraftcheck wrote on Fri, Mar 03, 2006 at 05:45:23PM CET: Is there some way I can force configure to change the deplibs_check_method? By integrating libtool.m4 into your package and changing it (more details if you're interested). With recent Automake, this isn't

Re: building a shared library that depends on a static library

2006-03-04 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Mar 03, 2006 at 06:10:21PM CET: cheap workaround of the day: disable shared libs on problematic platforms: put this in configure.ac before AC_PROG_LIBTOOL: AC_ENABLE_SHARED case $host in hppa*|x86_64*|s390* | *-solaris*|*-sunos*) AC_DISABLE_SHARED ;;

Re: building a shared library that depends on a static library

2006-03-04 Thread Ralf Wildenhues
Hi Jason, * Jason Kraftcheck wrote on Tue, Feb 28, 2006 at 02:42:34AM CET: Automake includes the contents of the $LIBS variable in all link commands, including linking libraries. This results in the following behavior: 3) If libtool is creating a shared library, and one or more of the

building a shared library that depends on a static library

2006-03-04 Thread Jason Kraftcheck
Automake includes the contents of the $LIBS variable in all link commands, including linking libraries. This results in the following behavior: 1) If libtool is creating a static library, this seems to work fine. The libraries in $LIBS are listed as dependencies in the resulting .la file. 2)

Re: building a shared library that depends on a static library

2006-03-04 Thread Jason Kraftcheck
Ralf Wildenhues wrote: Hi Jason, * Jason Kraftcheck wrote on Tue, Feb 28, 2006 at 02:42:34AM CET: Automake includes the contents of the $LIBS variable in all link commands, including linking libraries. This results in the following behavior: 3) If libtool is creating a shared library,

Re: building a shared library that depends on a static library

2006-03-03 Thread Simon Richter
Hi, Jason Kraftcheck wrote: Automake includes the contents of the $LIBS variable in all link commands, including linking libraries. This results in the following behavior: 3) If libtool is creating a shared library, and one or more of the libraries in $LIBS is static, behavior is