mirror of
https://github.com/frida/tinycc
synced 2024-11-24 16:49:44 +03:00
macos: Add DYLD_LIBRARY_PATH to tcc when configured with --disable-static - i.e. with .dylib support
This commit is contained in:
parent
9617ea6a3a
commit
15e4f8b3b0
@ -8,7 +8,11 @@ VPATH = $(TOPSRC)/lib $(TOPSRC)/win32/lib
|
||||
T = $(or $(CROSS_TARGET),$(NATIVE_TARGET),unknown)
|
||||
X = $(if $(CROSS_TARGET),$(CROSS_TARGET)-)
|
||||
|
||||
ifdef CONFIG_OSX
|
||||
XTCC ?= DYLD_LIBRARY_PATH=$(TOP) $(TOP)/$(X)tcc$(EXESUF)
|
||||
else
|
||||
XTCC ?= $(TOP)/$(X)tcc$(EXESUF)
|
||||
endif
|
||||
XCC = $(XTCC)
|
||||
XAR = $(XTCC) -ar
|
||||
XFLAGS-unx = -B$(TOPSRC)
|
||||
|
Loading…
Reference in New Issue
Block a user