summaryrefslogtreecommitdiff
path: root/libs/raylib/cmake/test-pkgconfig.sh
diff options
context:
space:
mode:
authorLuca Sas <sas.luca.alex@gmail.com>2021-08-23 00:05:31 +0100
committerGitHub <noreply@github.com>2021-08-23 00:05:31 +0100
commitd227d3c609c4b95fa9c8a0ba5a10e7c47bcb984c (patch)
tree20aeab4c18d76c344e2ce1f16913b39c447659b1 /libs/raylib/cmake/test-pkgconfig.sh
parenteebaddf29efad9bc7b82d8745d839931f08ef887 (diff)
parent3a1d97f556bc4c5384799ac121640984b590c05c (diff)
downloadgamejam-slgj-2024-d227d3c609c4b95fa9c8a0ba5a10e7c47bcb984c.tar.gz
gamejam-slgj-2024-d227d3c609c4b95fa9c8a0ba5a10e7c47bcb984c.tar.bz2
gamejam-slgj-2024-d227d3c609c4b95fa9c8a0ba5a10e7c47bcb984c.zip
Merge pull request #4 from thclmnt/master
Updated to raylib 3.7
Diffstat (limited to 'libs/raylib/cmake/test-pkgconfig.sh')
-rw-r--r--libs/raylib/cmake/test-pkgconfig.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/libs/raylib/cmake/test-pkgconfig.sh b/libs/raylib/cmake/test-pkgconfig.sh
deleted file mode 100644
index ccbdfb6..0000000
--- a/libs/raylib/cmake/test-pkgconfig.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Test if including/linking/running an installed raylib works
-
-set -x
-export LD_RUN_PATH=/usr/local/lib
-
-CFLAGS="-Wall -Wextra -Werror $CFLAGS"
-if [ "$ARCH" = "i386" ]; then
-CFLAGS="-m32 $CLFAGS"
-fi
-
-cat << EOF | ${CC:-cc} -otest -xc - $(pkg-config --libs --cflags $@ raylib.pc) $CFLAGS && exec ./test
-#include <stdlib.h>
-#include <raylib.h>
-
-int main(void)
-{
- int num = GetRandomValue(42, 1337);
- return 42 <= num && num <= 1337 ? EXIT_SUCCESS : EXIT_FAILURE;
-}
-EOF