Fix build results path on Linux and RPi (#2218)

Built files should be put into src/ not into the project root
as it was now on these platforms
This commit is contained in:
Tomas S 2021-12-16 17:10:13 +01:00 committed by GitHub
parent 51c929ef21
commit 87fa23beee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,16 +144,6 @@ ifeq ($(PLATFORM),PLATFORM_DRM)
endif
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), $(filter $(PLATFORM),PLATFORM_DESKTOP PLATFORM_RPI))
ifeq ($(PLATFORM_OS),LINUX)
RAYLIB_PREFIX ?= ..
RAYLIB_SRC_PATH = $(realpath $(RAYLIB_PREFIX))
endif
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Emscripten required variables
EMSDK_PATH ?= C:/emsdk