aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 6adfcb7..54f305b 100755
--- a/build.sh
+++ b/build.sh
@@ -50,7 +50,8 @@ echo "Building raylib"
git submodule init
git submodule update
cd raylib/src
-make PLATFORM=PLATFORM_DRM RAYLIB_LIBTYPE=SHARED
+#make PLATFORM=PLATFORM_DRM RAYLIB_LIBTYPE=SHARED
+make RAYLIB_LIBTYPE=SHARED
cd ../..
mkdir include
cp raylib/src/libraylib.so fsverify_root/lib/libraylib.so
@@ -59,7 +60,8 @@ cp raylib/src/raylib.h include/raylib.h
echo "Building fbwarn"
cd fbwarn
autoreconf --install
-./configure CFLAGS="-O2 -std=gnu99 -DEGL_NO_X11 -DLPATFORM_DRM -I../../include -L../../fsverify_root/lib"
+#./configure CFLAGS="-O2 -std=gnu99 -DEGL_NO_X11 -DLPATFORM_DRM -I../../include -L../../fsverify_root/lib"
+./configure CFLAGS="-O2 -std=gnu99 -I../../include -L../../fsverify_root/lib"
make
patchelf --replace-needed libraylib.so.500 /fsverify/lib/libraylib.so src/fbwarn
cp src/fbwarn ../fsverify_root/bin/fbwarn