Trying more stuff with this linux build shit

master
Allen Webster 2018-12-18 19:38:52 -08:00
parent 1095ccb9c8
commit 5af05ee717
1 changed files with 3 additions and 4 deletions

View File

@ -315,7 +315,7 @@ build(Partition *part, u32 flags, u32 arch, char *code_path, char **code_files,
"-Wno-unused-result"
#define GCC_LIBS_COMMON \
"-L/usr/local/lib -lX11 -lpthread -lm -lrt " \
"-L/usr/lib -lX11 -lpthread -lm -lrt " \
"-lGL -ldl -lXfixes -lfreetype -lfontconfig"
#define GCC_LIBS_X64 GCC_LIBS_COMMON
@ -329,17 +329,16 @@ build(Partition *part, u32 flags, u32 arch, char *code_path, char **code_files,
"-Wno-tautological-compare " \
"-Wno-unused-result "
#define GCC_LIBS_COMMON \
"-framework Cocoa -framework QuartzCore " \
"-framework CoreServices " \
"-framework OpenGL -framework IOKit "
#define GCC_LIBS_X64 GCC_LIBS_COMMON \
FOREIGN"/x64/libfreetype-mac.a"
FOREIGN "/x64/libfreetype-mac.a"
#define GCC_LIBS_X86 GCC_LIBS_COMMON \
FOREIGN"/x86/libfreetype-mac.a"
FOREIGN "/x86/libfreetype-mac.a"
#else
# error gcc options not set for this platform