Skip to content

Commit

Permalink
fix cargo config for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Oct 11, 2024
1 parent ea3022c commit 2ed779f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/build-extras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ function package_extension() {
PACKAGE_NAME=lantern-extras-${EXT_VERSION}-postgres-${PG_VERSION}-${PLATFORM}-${ARCH}

SOURCE_DIR=$(pwd)
LIB_BUILD_DIR="$(pwd)/target/release/lantern_extras-pg${PG_VERSION}/usr/lib/postgresql/${PG_VERSION}/lib"
SHARE_BUILD_DIR="$(pwd)/target/release/lantern_extras-pg${PG_VERSION}/usr/share/postgresql/${PG_VERSION}/extension"
LIB_BUILD_DIR="$(pwd)/$(dirname $(find target/release/lantern_extras-pg${PG_VERSION} -type f -name "*.so" -o -name "*.dylib"))"
SHARE_BUILD_DIR="$(pwd)/$(dirname $(find target/release/lantern_extras-pg${PG_VERSION} -type f -name "*.sql"))"
OUT_DIR=/tmp/lantern-extras

mkdir -p ${OUT_DIR}/${PACKAGE_NAME}/src
Expand Down

0 comments on commit 2ed779f

Please sign in to comment.