Attempting a fix for macOS builds

This commit is contained in:
2026-04-23 10:54:59 +10:00
parent 4957536e23
commit f8596806ee
2 changed files with 11 additions and 4 deletions
+5
View File
@@ -4,6 +4,11 @@ CFLAGS+=-std=c17 -g -Wall -Werror -Wextra -Wpedantic -Wformat=2 -Wno-newline-eof
LIBS+=-lm -lToy
LDFLAGS+=-Wl,-rpath,'$$ORIGIN'
ifeq ($(shell uname),Darwin) #make sure there's enough space for the dylib fix
LDFLAGS+=-Wl,-headerpad_max_install_names
endif
#directories
REPL_ROOTDIR=..
REPL_REPLDIR=.