summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRichard Smith <[email protected]>2022-07-08 06:57:10 +0100
committerGitHub <[email protected]>2022-07-08 07:57:10 +0200
commitf7e1550eea8c5d3b3998159f89e4a9cc6ff535f9 (patch)
tree8f96503177f46f85e0920897065e2e1440c90df9 /src
parent41a19cd007efe35a4707046962db5fbecf4023f7 (diff)
downloadraylib-f7e1550eea8c5d3b3998159f89e4a9cc6ff535f9.tar.gz
raylib-f7e1550eea8c5d3b3998159f89e4a9cc6ff535f9.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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)