mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-05 11:10:22 +00:00
In QB64, when linking with an external static library `nm.exe` is used to determine whether the symbol being used is either a C or C++ symbol, which determines how the function should be declared in the C++ code. Unfortunately on Windows the `SHELL` command for `nm.exe` is missing the `cmd /c`, which means the redirection does not work and consequently we're unable to find the function declaration via `nm.exe`, which causes the compilation to fail. In addition to fixing this, I added tests for `DECLARE STATIC LIBRARY` for all supported platforms. Fixes: #112 |
||
---|---|---|
.. | ||
audio_out | ||
audio_test | ||
basic | ||
console | ||
data | ||
declare_library | ||
declare_library_dynamic | ||
declare_library_external | ||
declare_library_header | ||
declare_library_static | ||
deviceinput | ||
font | ||
icon | ||
icon_relative | ||
image | ||
name with spaces | ||
opengl | ||
sockets | ||
versioninfo | ||
versioninfo2 | ||
versioninfo3 | ||
winresource |