macos: add path relative ../lib
This commit is contained in:
parent
6bd0ced239
commit
6c94df6e2d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -45,7 +45,7 @@ else
|
||||||
ifndef CONFIG_OSX
|
ifndef CONFIG_OSX
|
||||||
LINK_LIBTCC += -Wl,-rpath,"$(libdir)"
|
LINK_LIBTCC += -Wl,-rpath,"$(libdir)"
|
||||||
else
|
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 += -current_version $(VERSION)
|
||||||
DYLIBVER += -compatibility_version $(VERSION)
|
DYLIBVER += -compatibility_version $(VERSION)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue