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

flexdll does not give the -L flag to MSVC link.exe #145

Open
jonahbeckford opened this issue Nov 5, 2024 · 0 comments
Open

flexdll does not give the -L flag to MSVC link.exe #145

jonahbeckford opened this issue Nov 5, 2024 · 0 comments

Comments

@jonahbeckford
Copy link
Contributor

Original issue: dbuenzli/tsdl#96 (comment)

The relevant snippet:

+ flexlink -x64 -merge-manifest -stack 33554432 -g -o src\dlltsdl_stubs.dll SDL2d.lib src/tsdl_stubs.obj    -LY:/source/tsdl/_opam/share/dkcoder-c/debug/lib/pkgconfig/../../lib -LC:/Users/beckf/AppData/Local/Programs/DKMLNA~1/lib/ocaml\flexdll

+ link -lib -nologo -machine:AMD64 -out:src\libtsdl_stubs.lib  SDL2d.lib src/tsdl_stubs.obj

shows that flexlink ... -Lxyz does not get translated to link ... /LIBPATH:xyz (https://learn.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-170).

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

No branches or pull requests

1 participant