diff --git a/builds/posix/Makefile.in b/builds/posix/Makefile.in index 657bfbc0ff..9acd4c4e17 100644 --- a/builds/posix/Makefile.in +++ b/builds/posix/Makefile.in @@ -76,8 +76,12 @@ endif ifeq ($(TOMMATH_BUILD_FLG),Y) TOM2TOM_CFLAGS=-I../libtommath +ifeq ($(PLATFORM),DARWIN) +LTC_LDFLAGS='-L$(LIB) $(call LINK_DARWIN_RPATH,..)' +else LTC_LDFLAGS='-L$(LIB) $(subst $,$$$$,$(call LIB_LINK_RPATH,lib))' endif +endif .PHONY: master_process cross_process firebird Debug Release external