Explorar o código

Fix RPi make install (#2217)

Tomas S %!s(int64=3) %!d(string=hai) anos
pai
achega
60b1f29783
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Makefile

+ 1 - 1
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))