Skip to content

Commit ea7b81d

Browse files
ajdaviskevinAlbs
authored andcommitted
CDRIVER-2505 fix link-sample-program.sh paths
1 parent db98ab0 commit ea7b81d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.evergreen/link-sample-program.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,9 @@ else
167167
fi
168168
fi
169169

170-
cd $SRCROOT
171-
172170
if [ "$BUILD_SAMPLE_WITH_CMAKE" ]; then
173171
# Test our CMake package config file with CMake's find_package command.
174-
EXAMPLE_DIR=$SRCROOT/examples/cmake/find_package
172+
EXAMPLE_DIR=$SRCROOT/src/libmongoc/examples/cmake/find_package
175173

176174
if [ "$LINK_STATIC" ]; then
177175
EXAMPLE_DIR="${EXAMPLE_DIR}_static"
@@ -183,7 +181,7 @@ if [ "$BUILD_SAMPLE_WITH_CMAKE" ]; then
183181
else
184182
# Test our pkg-config file.
185183
export PKG_CONFIG_PATH=$INSTALL_DIR/lib/pkgconfig
186-
cd $SRCROOT/examples
184+
cd $SRCROOT/src/libmongoc/examples
187185

188186
if [ "$LINK_STATIC" ]; then
189187
echo "pkg-config output:"

0 commit comments

Comments
 (0)