WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit e04053f

Browse files
committed
try to capture dep in a different way
1 parent 46f7fb5 commit e04053f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/test/compilecheck/compile_check_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ func TestCompileCheck(t *testing.T) {
152152
}
153153

154154
// The install script creates an "install" directory in the current working directory (/app).
155+
// libmongocrypt may install to lib or lib64 depending on the system.
155156
exitCode, outputReader, err = container.Exec(context.Background(), []string{
156-
"sh", "-c", "PKG_CONFIG_PATH=/app/install/lib/pkgconfig " +
157-
"LD_LIBRARY_PATH=/app/install/lib " +
157+
"sh", "-c", "PKG_CONFIG_PATH=/app/install/lib/pkgconfig:/app/install/lib64/pkgconfig " +
158+
"LD_LIBRARY_PATH=/app/install/lib:/app/install/lib64 " +
158159
"go build -buildvcs=false -tags=cse,gssapi,mongointernal ./...",
159160
})
160161
require.NoError(t, err)

0 commit comments

Comments
 (0)