summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2022-05-20 17:45:36 +0200
committerRay <[email protected]>2022-05-20 17:45:36 +0200
commit1f806b555dd1ecb7e77797ed0de57d62a6bdd6f0 (patch)
tree84622bbd2b41602fa601be07d3f6e6d91b81298c /examples
parent789e50406908d1f762f9f6471af7a9b8c20e1675 (diff)
downloadraylib-1f806b555dd1ecb7e77797ed0de57d62a6bdd6f0.tar.gz
raylib-1f806b555dd1ecb7e77797ed0de57d62a6bdd6f0.zip
ADDED: `-latomic` linkage, required by `miniaudio` on ARM 32bit #2452
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 50a12e5c..1ab0b6c6 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -349,7 +349,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_RPI)
# Libraries for Raspberry Pi compiling
# NOTE: Required packages: libasound2-dev (ALSA)
- LDLIBS = -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl
+ LDLIBS = -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl -latomic
ifeq ($(USE_RPI_CROSS_COMPILER),TRUE)
LDLIBS += -lvchiq_arm -lvcos
endif
@@ -357,7 +357,7 @@ endif
ifeq ($(PLATFORM),PLATFORM_DRM)
# Libraries for DRM compiling
# NOTE: Required packages: libasound2-dev (ALSA)
- LDLIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lgbm -ldrm -ldl
+ LDLIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lgbm -ldrm -ldl -latomic
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Libraries for web (HTML5) compiling