Stop scons from adding postfixes to linked libraries (i.e. mylib.windows.tools.64.lib)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By omggomb

I want to use an external library in my godot module. I can successfully compile it, but the problem is, that scons assumes the external library is named after the same scheme, when it is not.
Example compiling with p=windows for 64bit with tool=yes:
I have a library located in #thirdparty/mylib/lib/windows/x64/mylib.lib
SCsub:
module_env.Append(LIB=['mylib']) results in scons searching for mylib.windows.tools.64.lib, but I don’t want to rename all the external libs according to their platform.

Is there a way to disable that scons behavior for external libraries?

It’s probably a better idea to ask questions about C++ module development on IRC (#godotengine-devel @ chat.freenode.net) instead.

Calinou | 2018-06-12 20:52