Skip to content

Commit 73ea471

Browse files
committed
Ensure configure has correct libmongoc version information
1 parent b50a11b commit 73ea471

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.evergreen/compile-unix.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@ fi
7373
phpize
7474
./configure --enable-mongodb-developer-flags
7575

76-
# If we're testing a specific version of libmongoc, regenerate the version file
76+
# configure relies on version information in libmongoc-version-current, but the target is not available until after calling configure
77+
# To work around this, run the make target, then run configure again
7778
if [ -n "$LIBMONGOC_VERSION" ]; then
7879
make libmongoc-version-current
80+
./configure --enable-mongodb-developer-flags
7981
fi
8082

8183
make test TESTS="tests/smoketest.phpt"

0 commit comments

Comments
 (0)