Skip to content

Dont override libdir on Windows MSVC. - #1265

Closed
MAJigsaw77 wants to merge 1 commit into
HaxeFoundation:masterfrom
FunkinCrew:bugfix/no-libdir-override
Closed

Dont override libdir on Windows MSVC.#1265
MAJigsaw77 wants to merge 1 commit into
HaxeFoundation:masterfrom
FunkinCrew:bugfix/no-libdir-override

Conversation

@MAJigsaw77

Copy link
Copy Markdown
Contributor

Currently if someone wants to change the libdir, it'll override itself to obj/lib, whats funny is that from my testing, only Windows's MSVC has this issue currently.

@MAJigsaw77 MAJigsaw77 closed this Nov 5, 2025
@MAJigsaw77
MAJigsaw77 deleted the bugfix/no-libdir-override branch November 5, 2025 20:48
@MAJigsaw77

Copy link
Copy Markdown
Contributor Author

This ended up not working but this code did the thing.

<section unless="static_link">
	<copyFile toolId="dll" name="${PROJECT_NAME}.lib" from="obj/lib" if="windows" />
</section>

When the libdir was removed from the toolchain, it also added files like .exp, .ilk and .pdb which arent needed.

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