blob: 3274d4e20bb42719081d554c677eff22901a08cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- jfbuild/Makefile.shared.orig 2024-02-19 08:23:00 UTC
+++ jfbuild/Makefile.shared
@@ -3,8 +3,12 @@ EDITORLIB=libbuild.a
ENGINELIB=libengine.a
EDITORLIB=libbuild.a
-SDL2CONFIG?=$(shell which sdl2-config || which false)
-PKGCONFIG?=$(shell which pkg-config || which false)
+ifndef SDL2CONFIG
+SDL2CONFIG!=which sdl2-config || which false
+endif
+ifndef PKGCONFIG
+PKGCONFIG!=which pkg-config || which false
+endif
export SDL2CONFIG PKGCONFIG
BUILDCFLAGS=
|