Subject: Portable way to enforce error on undefined symbols

From: Simon Richter <[email-masked]>
Date: Fri, 7 Apr 2017 05:19:17 +0200

Version: 2.4.6
Severity: wishlist

Hi,

I'd like to have a way for libtool fail to link a shared library with
undefined symbols even on platforms that do support them.

Passing the "-no-undefined" flag only promises that there are no
undefined symbols, so libtool will actually try to link a Windows DLL,
however it will not use -Wl,-z,defs on GNU targets.

Libtool seems to define some internal variables like
allow_undefined_flag, but these are not used after being defined.

   Simon