Re: stunnel build chokes on -no-undefined

2015-05-27 Thread Andrew Schulman
From a quick peek at the source, you should make this change in src/Makefile.am -libstunnel_la_LDFLAGS = -avoid-version +libstunnel_la_LDFLAGS = -avoid-version -no-undefined Right - thanks. Yep, that takes care of it. and then hope that libstunnel has no undefined symbols that need to

Re: stunnel build chokes on -no-undefined

2015-05-26 Thread Andrew Schulman
The libtool command should almost always include -no-undefined, so you should probably add that. OK, thanks. So, uh... could you suggest how I would add an option to the libtool command? Sorry, I'm just not strong on autotools. Thanks, Andrew

Re: stunnel build chokes on -no-undefined

2015-05-26 Thread Peter Rosin
On 2015-05-26 16:55, Andrew Schulman wrote: In stunnel 5.17, the build of libstunnel.la fails with can't build shared library unless -no-undefined is specified: /bin/sh ../libtool --tag=CC --mode=link gcc -Wl,-no-undefined

Re: stunnel build chokes on -no-undefined

2015-05-26 Thread Peter Rosin
On 2015-05-26 18:07, Andrew Schulman wrote: The libtool command should almost always include -no-undefined, so you should probably add that. OK, thanks. So, uh... could you suggest how I would add an option to the libtool command? Sorry, I'm just not strong on autotools. Thanks, Andrew

stunnel build chokes on -no-undefined

2015-05-26 Thread Andrew Schulman
In stunnel 5.17, the build of libstunnel.la fails with can't build shared library unless -no-undefined is specified: /bin/sh ../libtool --tag=CC --mode=link gcc -Wl,-no-undefined -fdebug-prefix-map=/home/andrex/dev/cygwin/stunnel/stunnel-5.17-1.x86_64/build=/usr/src/debug/stunnel-5.17-1