patch Makefile on macOS

11 jobs for develop in 5 minutes and 16 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Prepare
passed #165998
linux
mat_common

00:01:01

passed #166000
linux
mat_linux

00:00:24

passed #166001
linux
mat_macos

00:00:25

passed #165999
linux
mat_submodules

00:00:14

passed #166002
linux
mat_windows

00:00:27

 
  Build
passed #166004
linux
exec_linux

00:03:01

passed #166005
arm
exec_linuxarm

00:03:37

passed #166007
macos-m1
exec_macos_platform_m1

00:01:49

failed #166006
macos
exec_macos_platform_x86

00:02:23

passed #166003
vs
exec_windows

00:04:14

 
  Combine
skipped #166008
macos
exec_macos
 
Name Stage Failure
failed
exec_macos_platform_x86 Build
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [test_sharedbook] Error 1
make[3]: *** Waiting for unfinished jobs....
1 warning generated.
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Cleaning up project directory and file based variables
ERROR: Job failed: exit status 1