]> git.ipfire.org Git - thirdparty/strongswan.git/commit
nm: Don't set DL_LIBS to 'none required' in configure script
authororbea <orbea@riseup.net>
Tue, 5 Mar 2024 23:46:30 +0000 (15:46 -0800)
committerTobias Brunner <tobias@strongswan.org>
Tue, 1 Jul 2025 05:45:12 +0000 (07:45 +0200)
commit979c57fc304aaeefdfd1f00e0e3d55b8b9e8ff8c
treeab3de3d73793eb96390650d70f44271415c5b6c3
parenta666944e652a3feade1b912826d1fb42e319859c
nm: Don't set DL_LIBS to 'none required' in configure script

This copies the AC_SEARCH_LIBS check from the main strongSwan
configure.ac.

When building networkmanager-strongswan with slibtool if fails.

  ld: cannot find none: No such file or directory
  ld: cannot find required: No such file or directory

This is because configure.ac uses AC_SEARCH_LIBS to find dlopen which
sets the value of $ac_cv_search_dlopen to 'none required' which then
gets set in DL_LIBS and passed to slibtool.

With GNU libtool it silently ignores the unknown arguments.

Gentoo issue: https://bugs.gentoo.org/914100

Closes strongswan/strongswan#2141

Signed-off-by: orbea <orbea@riseup.net>
src/frontends/gnome/configure.ac