From 124b693855cdecdcd9b6ba854c5d245137147423 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Thu, 11 Mar 2021 15:18:24 +1100 Subject: [PATCH] chore: cleanup mock server darwin comments --- v3/internal/native/mock_server/mock_server_darwin.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/v3/internal/native/mock_server/mock_server_darwin.go b/v3/internal/native/mock_server/mock_server_darwin.go index abde617c1..81969b719 100644 --- a/v3/internal/native/mock_server/mock_server_darwin.go +++ b/v3/internal/native/mock_server/mock_server_darwin.go @@ -1,7 +1,11 @@ package mock_server /* -#cgo LDFLAGS: ${SRCDIR}/../../../../libs/libpact_mock_server_ffi.dylib +#cgo LDFLAGS: -v ${SRCDIR}/../../../../libs/libpact_mock_server_ffi.dylib + +// NOTE: have to rename the id in the library using this command: + +// install_name_tool -id "libpact_mock_server_ffi" libs/libpact_mock_server_ffi.dylib // Library headers typedef int bool;