1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 11:11:20 +00:00

$CONSOLE:ONLY on Linux no longer pulls in GL/X11 libs

This commit is contained in:
Luke Ceddia 2020-07-15 22:25:44 +10:00
parent 905b6dd3e5
commit 860e6cad57
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,2 @@
g++ -no-pie -w qbx.cpp parts/core/os/lnx/src.a -lpthread -ldl -lrt -D FREEGLUT_STATIC -o

View file

@ -12185,6 +12185,8 @@ IF os$ = "LNX" THEN
IF INSTR(_OS$, "[MACOSX]") THEN
OPEN "./internal/c/makeline_osx.txt" FOR INPUT AS #150
ELSEIF DEPENDENCY(DEPENDENCY_CONSOLE_ONLY) THEN
OPEN "./internal/c/makeline_lnx_nogui.txt" FOR INPUT AS #150
ELSE
OPEN "./internal/c/makeline_lnx.txt" FOR INPUT AS #150
END IF