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

Fix building ZVulkan on *BSD #2253

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

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Nov 10, 2023

Remove the hardcoded libdl. *BSD's don't have/use libdl. CMAKE_DL_LIBS is set to libdl as well on the appropraite other OS's.

Remove the hardcoded libdl. *BSD's don't have/use libdl. CMAKE_DL_LIBS
is set to libdl as well on the appropraite other OS's.
@coelckers
Copy link
Member

SOME platforms needed this, otherwise it would not have been added like this.

@madame-rachelle
Copy link
Collaborator

Yeah I am not going to accept this change as-is. If this has the potential to break any of our officially supported platforms I will not break them for the sake of one that is very distantly supported.

@Cacodemon345
Copy link
Contributor

In defense of brad0, CMAKE_DL_LIBS should already resolve to -ldl on platforms where needed, making addition of -ldl redundant and harmful for platforms that don't even have it.

If there's any bug it should be directed to CMake developers, instead of adding hacks.

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.

4 participants