From f7e1550eea8c5d3b3998159f89e4a9cc6ff535f9 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Fri, 8 Jul 2022 06:57:10 +0100 Subject: Fix fat universal (arm64 + x86_64) macos Github Actions build (#2567) * test if clang supports multiple targets * didnt work, so trying lipo to join separate targets together * add CUSTOM_LDFLAGS to try to fix arm64 mac dynamic build * fix sym links * try again to fix sym links * auto extract raylib version numbers from makefile * fix macos missing gnu grep * dont use custom name for raylib dlls --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index d8a3b8ab..f6ca3394 100644 --- a/src/Makefile +++ b/src/Makefile @@ -452,7 +452,7 @@ endif # Define library paths containing required libs: LDFLAGS # NOTE: This is only required for dynamic library generation #------------------------------------------------------------------------------------------------ -LDFLAGS = -L. -L$(RAYLIB_RELEASE_PATH) +LDFLAGS = $(CUSTOM_LDFLAGS) -L. -L$(RAYLIB_RELEASE_PATH) ifeq ($(PLATFORM),PLATFORM_DESKTOP) ifeq ($(PLATFORM_OS),WINDOWS) -- cgit v1.2.3