Skip to content

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

@jonahbeckford

Description

@jonahbeckford

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions