2008/4/29 Cyril Brulebois <kibi@debian.org>: > You could try and use LDFLAGS to pass -Wl,--as-needed (linker flags). > But since it could break silently some parts of your build, it shouldn't > be used without -Wl,-z,defs which will help spot possible missing -l$foo > options in intermediate objects (if any). You can pass LDFLAGS to the > ./configure script. That did the trick. Thanks Jeff