Skip to content

Commit 5754d2e

Browse files
authored
fix: correct header install path in build-libmongoc.sh (#486)
1 parent 923e8e4 commit 5754d2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build-libmongoc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ install_libs() {
139139
install_headers() {
140140
local arch=$1
141141
local prefix="$BUILD_DIR/install-mongoc-$arch"
142-
local dest="$PROJECT_DIR/TablePro/Core/Database/CLibMongoc/include"
142+
local dest="$PROJECT_DIR/Plugins/MongoDBDriverPlugin/CLibMongoc/include"
143143

144144
echo "📦 Installing libmongoc headers..."
145145

@@ -176,7 +176,7 @@ build_for_arch() {
176176
build_mongoc "$arch"
177177
install_libs "$arch"
178178
# Install headers once (they're arch-independent)
179-
if [ ! -f "$PROJECT_DIR/TablePro/Core/Database/CLibMongoc/include/mongoc/mongoc.h" ]; then
179+
if [ ! -f "$PROJECT_DIR/Plugins/MongoDBDriverPlugin/CLibMongoc/include/mongoc/mongoc.h" ]; then
180180
install_headers "$arch"
181181
fi
182182
}

0 commit comments

Comments
 (0)