1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00
QB64-PE/source
github-actions[bot] 72d801e0cd Fix linking static libraries on Windows
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
2022-07-09 14:59:33 -04:00
..
global Update version to v0.8.2 2022-06-10 22:35:38 -04:00
ide Semi-support local links 2022-07-06 16:13:02 +02:00
subs_functions Fix command templates 2022-06-13 02:15:25 +02:00
utilities Add C++ compiler settings dialog 2022-05-30 23:15:04 -04:00
.gitignore Don't ignore .bas files in source directory 2022-04-28 17:20:45 -04:00
icon.rc Temporarally add build steps back 2022-05-07 19:57:38 -04:00
qb64.bas Fix linking static libraries on Windows 2022-07-09 14:59:33 -04:00
qb64.ico Proper embedding of qb64.ico into the Windows binary. 2016-09-04 12:12:30 -03:00