From e953723fe6187570949760cc57fc63604b4f9daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Gr=C3=A4f?= <aggraef@gmail.com> Date: Fri, 16 Feb 2018 11:47:50 +0100 Subject: [PATCH] Add a comment about linking statically on macOS --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index e5b9de7..4403bc6 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,8 @@ ifeq ($(UNAME),Darwin) endif endif ALL_CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include -I/opt/local/include + # NOTE: To link statically against Lua using MacPorts: + #LUA_LIBS = /opt/local/lib/liblua.a # if the 'pd' binary exists, check the linking against it to aid with stripping BUNDLE_LOADER = $(shell test ! -e $(PD_PATH)/bin/pd || echo -bundle_loader $(PD_PATH)/bin/pd) ALL_LDFLAGS += $(FAT_FLAGS) -headerpad_max_install_names -bundle $(BUNDLE_LOADER) \ -- GitLab