summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTomas S <[email protected]>2021-12-16 16:29:09 +0100
committerGitHub <[email protected]>2021-12-16 16:29:09 +0100
commit60b1f297837b17d66c9c0cf5e7b30713ea752d8b (patch)
treee56f966dea6706e36910fa129386f162e5d73613 /src
parent2db44bc34ae194e88e274b9e391ef9e23c06c3e3 (diff)
downloadraylib-60b1f297837b17d66c9c0cf5e7b30713ea752d8b.tar.gz
raylib-60b1f297837b17d66c9c0cf5e7b30713ea752d8b.zip
Fix RPi make install (#2217)
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 6f111d3f..5ee9343e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -147,7 +147,7 @@ endif
# RAYLIB_SRC_PATH adjustment for different platforms.
# If using GNU make, we can get the full path to the top of the tree. Windows? BSD?
# Required for ldconfig or other tools that do not perform path expansion.
-ifeq ($(PLATFORM),PLATFORM_DESKTOP)
+ifeq ($(PLATFORM), $(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_RPI))
ifeq ($(PLATFORM_OS),LINUX)
RAYLIB_PREFIX ?= ..
RAYLIB_SRC_PATH = $(realpath $(RAYLIB_PREFIX))