You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What seems to be the problem?
Using the links method to include an .a archive file incorrectly supplements the library with a flag instead of just providing the library path. The archive file will be prefixed with -l and the relative path to the file is omitted. e.g. -llibrary.a instead of my/custom/library.a.
What did you expect to happen?
I expect the LIBS make variable to be supplemented with the archive file path. e.g. LIBS=... my/custom/library.a.
What have you tried so far?
Researching docs for alternative methods. None tried provided the required outcome. Manually adding the archive path to the LIBS variable in the make file successfully statically links.
How can we reproduce this?
Use the link method like so:
links({"./my/custom/library.a"})
GNU Makefile 2 (gmake2)
What version of Premake are you using?
5.0.0-beta2
The text was updated successfully, but these errors were encountered:
What seems to be the problem?
Using the
links
method to include an .a archive file incorrectly supplements the library with a flag instead of just providing the library path. The archive file will be prefixed with-l
and the relative path to the file is omitted. e.g.-llibrary.a
instead ofmy/custom/library.a
.What did you expect to happen?
I expect the
LIBS
make variable to be supplemented with the archive file path. e.g.LIBS=... my/custom/library.a
.What have you tried so far?
Researching docs for alternative methods. None tried provided the required outcome. Manually adding the archive path to the LIBS variable in the make file successfully statically links.
How can we reproduce this?
Use the link method like so:
What version of Premake are you using?
5.0.0-beta2
The text was updated successfully, but these errors were encountered: