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

Build pulls in both static and shared library of libwebsockets if available #1080

Open
diizzyy opened this issue Feb 22, 2023 · 1 comment
Open

Comments

@diizzyy
Copy link

diizzyy commented Feb 22, 2023

If both variants are installed they're linked to ttyd which is incorrect. I couldn't find quick solution (time constraints) using the current layout so I used pkgconfig instead to pick up the correct library.

Link to pkgconfig variant, https://cgit.freebsd.org/ports/plain/sysutils/ttyd/files/patch-CMakeLists.txt

FreeBSD 13.1 / 13.2-BETA2
CMake: 3.25.1
libwebsockets: 4.3.2

@tsl0922
Copy link
Owner

tsl0922 commented Feb 22, 2023

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

No branches or pull requests

2 participants