Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure: don't set DL_LIBS to 'none required' #2141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

orbea
Copy link

@orbea orbea commented Mar 5, 2024

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

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
Copy link

cla-bot bot commented Mar 5, 2024

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @orbea on file. In order for us to review and merge your code, please contact the project maintainers via info@strongswan.org to get yourself added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant