From 5af05ee7170af5cd406ab9a1a434d4863da08445 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Tue, 18 Dec 2018 19:38:52 -0800 Subject: [PATCH] Trying more stuff with this linux build shit --- meta/4ed_build.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/meta/4ed_build.cpp b/meta/4ed_build.cpp index fcc05388..041df1b8 100644 --- a/meta/4ed_build.cpp +++ b/meta/4ed_build.cpp @@ -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