-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
libwebsockets not linking against libdl #2058
Comments
For lws own use of dl, for plugins, he adds it to the dependent libs for lws library link-time. How are you thinking we should determine if we should always link against dl because the libc wants it? |
I would guess to do so unconditionally. I don't know how other projects do it. |
Yes as I said if lws is using plugins itself and needs libl, it will link with it. I can't just add -ldl because it's perfectly possible to build for, eg, cross freertos and no libdl concept. I didn't understand what the openwrt error is about either, it seems to be for another package that brings in libwebsockets... so - I am asking rather than trying to dodge it - why is it a lws issue? |
The original report seems to be wrong. Closing. |
Certain configurations of glibc need -ldl to LDFLAGS to be passed. First noticed here: openwrt/packages#12222
I don't see any find_library calls to dl.
The text was updated successfully, but these errors were encountered: