Skip to content

Conversation

@daveinglis
Copy link
Contributor

@daveinglis daveinglis commented Nov 4, 2025

  • remove the platform specifics from computeLibraryArgs (we cannot assume
    that all libraries have a lib prefix and what the suffix is.) So we
    now use the FileType prefix and remove any suffix when using
    searchPathFlagsForLD (the linker will know...), moving this into the
    LinkerSpec.LibrarySpecifier extension, this allows for proper searching
    of libraries, and linking of dynamic libraries (especially on Windows).

@daveinglis
Copy link
Contributor Author

@swift-ci test

@daveinglis daveinglis force-pushed the building_tests_fixes_windows branch 8 times, most recently from c224e9e to 843e629 Compare November 10, 2025 16:21
@daveinglis daveinglis changed the title Change how libraries are specified to the linker Change how libraries are specified to the linker when using searched libs Nov 10, 2025
…libs

- remove the platform specifics from computeLibraryArgs (we cannot assume
  that all libraries have a lib prefix and what there suffix is.) So we
  now use the FileType prefix and remove any suffix when using
  searchPathFlagsForLD (the linker wilk know...), moving this into the
  LinkerSpec.LibrarySpecifier extension, this allows for proper searching
  of libraries, and linking of dynamic libraries (especially on Windows).
@daveinglis daveinglis force-pushed the building_tests_fixes_windows branch from 843e629 to 87a555c Compare November 10, 2025 17:52
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.

1 participant