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

Premake doesn't add in the LIBS variable the word vulkan #2256

Open
davmarc-lab opened this issue Sep 23, 2024 · 1 comment
Open

Premake doesn't add in the LIBS variable the word vulkan #2256

davmarc-lab opened this issue Sep 23, 2024 · 1 comment
Labels
support-request A request for help from the community

Comments

@davmarc-lab
Copy link

What are you trying to do?
I'm trying to create a Makefile for a simple vulkan application.

What problem are you having?
When I add the vulkan library to the links array, in the Makefile it isn't included properly.
links({ "glm", "glfw", "vulkan", "dl", "pthread", "X11", "Xxf86vm", "Xrandr", "Xi" })
But the LIBS variable in the final Makefile looks like this:
LIBS += -lglm -lglfw -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi

What have you tried so far?
I've changed the name in vuldan and it is included well.
links({ "glm", "glfw", "vuldan", "dl", "pthread", "X11", "Xxf86vm", "Xrandr", "Xi" })
LIBS += -lglm -lglfw -lvuldan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi

What version of Premake are you using?
premake5 (Premake Build Script Generator) 5.0.0-beta2

@davmarc-lab davmarc-lab added the support-request A request for help from the community label Sep 23, 2024
@samsinsane
Copy link
Member

I can't reproduce this, check for usages of removelinks or any of the Premake modules you might be using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support-request A request for help from the community
Projects
None yet
Development

No branches or pull requests

2 participants