Re: How can I set a subproject to build as a static library by default

2014-01-20 Thread Steven Stewart-Gallus
> Pass --disable-shared to AC_CONFIG_SUBDIRS. Gary, like Bert says there isn't a way to pass flags to AC_CONFIG_SUBDIRS. > use project_CFLAGS="-Wl,-no_shared" and project_LDFLAGS="-static - > no_shared" Victor, I don't believe that works with external subprojects such a portability libraries tha

Re: How can I set a subproject to build as a static library by default

2014-01-20 Thread Bert Wesarg
On Mon, Jan 20, 2014 at 8:06 AM, Gary V. Vaughan wrote: > >> On Jan 20, 2014, at 3:52 PM, Steven Stewart-Gallus >> wrote: >> >> I know I can use LT_INIT([static]) to build libraries in my project >> statically >> (by default) but how can I make subprojects build statically? > > Pass --disable-s

Re: How can I set a subproject to build as a static library by default

2014-01-20 Thread Victor Lavaud
use project_CFLAGS="-Wl,-no_shared" and project_LDFLAGS="-static -no_shared" 2014/1/20 Steven Stewart-Gallus > I know I can use LT_INIT([static]) to build libraries in my project > statically > (by default) but how can I make subprojects build statically? > > ___

Re: How can I set a subproject to build as a static library by default

2014-01-19 Thread Gary V. Vaughan
> On Jan 20, 2014, at 3:52 PM, Steven Stewart-Gallus > wrote: > > I know I can use LT_INIT([static]) to build libraries in my project statically > (by default) but how can I make subprojects build statically? Pass --disable-shared to AC_CONFIG_SUBDIRS. http://www.gnu.org/s/autoconf/manual/aut