macos: add path relative ../lib

This commit is contained in:
Christian Jullien 2020-07-09 19:37:37 +02:00
parent 6bd0ced239
commit 6c94df6e2d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ else
ifndef CONFIG_OSX
LINK_LIBTCC += -Wl,-rpath,"$(libdir)"
else
LINK_LIBTCC += -Wl,-rpath,"@executable_path/$(TOP)"
LINK_LIBTCC += -Wl,-rpath,"@executable_path/$(TOP)" -Wl,-rpath,"@executable_path/$(TOP)/../lib"
DYLIBVER += -current_version $(VERSION)
DYLIBVER += -compatibility_version $(VERSION)
endif