From c17aeb2b2724bf985ee533afa3ac822d3dfa3056 Mon Sep 17 00:00:00 2001 From: Matteo Cafasso Date: Wed, 6 Sep 2023 00:12:34 +0300 Subject: [PATCH] Makefile: more OSX fixes Signed-off-by: Matteo Cafasso --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bbc0bc3..bc71027 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ clips: clips_source $(MAKE) -f $(MAKEFILE_NAME) -C clips_source \ CFLAGS="-std=c99 -O3 -fno-strict-aliasing -fPIC" \ LDLIBS="-lm -L$(OS_LDLIBS_PATH)" - ld clips_source/*.o -dylib -L$(OS_LDLIBS_PATH) \ + ld clips_source/*.o -dylib -lm -L$(OS_LDLIBS_PATH) -arch $(TARGET_ARCH) \ -o clips_source/libclips.so else clips: clips_source