From 63e19f09b0de1415d1196fe2976bd2f9bd83ee29 Mon Sep 17 00:00:00 2001 From: Samuel Venable Date: Thu, 30 May 2024 22:40:40 -0400 Subject: [PATCH] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e67637b..e920a56 100755 --- a/build.sh +++ b/build.sh @@ -8,7 +8,7 @@ elif [ $(uname) = "Linux" ]; then elif [ $(uname) = "FreeBSD" ]; then clang++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL -lkvm -lpthread; ./sysinfo -h 2> /dev/null; elif [ $(uname) = "DragonFly" ]; then - g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL -lkvm -lpthread; ./sysinfo -h 2> /dev/null; + g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -lGL `pkg-config --cflags --libs hwloc --static` -lkvm -lpthread; ./sysinfo -h 2> /dev/null; elif [ $(uname) = "NetBSD" ]; then g++ main.cpp system.cpp -o sysinfo -std=c++17 -DCREATE_CONTEXT -static-libgcc -static-libstdc++ `pkg-config --cflags --libs sdl2` `pkg-config --cflags --libs x11` -I/usr/X11R7/include -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lGL `pkg-config --cflags --libs hwloc --static` -lpthread; ./sysinfo -h 2> /dev/null; elif [ $(uname) = "OpenBSD" ]; then