From ae745e4fa8f25e16a2e6964b417454e8a35a61b7 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 22 Aug 2022 11:25:35 +0200 Subject: ADDED: `-latomic` library on Linux (only required for ARM32) This linkage is only required for arm 32bit but I don't know how to detect that specific architecture in the Makefile... --- examples/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/Makefile') diff --git a/examples/Makefile b/examples/Makefile index a977412e..6a39a1c5 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -325,6 +325,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(RAYLIB_LIBTYPE),SHARED) LDLIBS += -lc endif + + # TODO: On ARM 32bit arch, miniaudio requires atomics library + LDLIBS += -latomic endif ifeq ($(PLATFORM_OS),OSX) # Libraries for OSX 10.9 desktop compiling -- cgit v1.2.3