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 sstewartgallu...@mylangara.bc.ca 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-20 Thread Bert Wesarg
On Mon, Jan 20, 2014 at 8:06 AM, Gary V. Vaughan g...@gnu.org wrote: On Jan 20, 2014, at 3:52 PM, Steven Stewart-Gallus sstewartgallu...@mylangara.bc.ca 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

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 that I

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

2014-01-19 Thread 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? ___ Autoconf mailing list Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf

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 sstewartgallu...@mylangara.bc.ca 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.