try to fix macos linking
This commit is contained in:
parent
4aec7db317
commit
314bbc65c2
4
Makefile
4
Makefile
|
@ -321,6 +321,10 @@ $(NIM_STATUS_CLIENT): $(NIM_SOURCES) | $(DOTHERSIDE) $(STATUSGO) $(KEYCARDGO) $(
|
|||
install_name_tool -change \
|
||||
libstatus.dylib \
|
||||
@rpath/libstatus.dylib \
|
||||
bin/nim_status_client && \
|
||||
install_name_tool -change \
|
||||
libkeycard.dylib \
|
||||
@rpath/libkeycard.dylib \
|
||||
bin/nim_status_client) || true)
|
||||
|
||||
nim_status_client: $(NIM_STATUS_CLIENT)
|
||||
|
|
|
@ -16,6 +16,7 @@ if defined(macosx):
|
|||
# note: macdeployqt rewrites rpath appropriately when building the .app bundle
|
||||
switch("passL", "-rpath" & " " & getEnv("QT5_LIBDIR"))
|
||||
switch("passL", "-rpath" & " " & getEnv("STATUSGO_LIBDIR"))
|
||||
switch("passL", "-rpath" & " " & getEnv("KEYCARDGO_LIBDIR"))
|
||||
# statically link these libs
|
||||
switch("passL", "bottles/openssl@1.1/lib/libcrypto.a")
|
||||
switch("passL", "bottles/openssl@1.1/lib/libssl.a")
|
||||
|
|
Loading…
Reference in New Issue