Skip to content

Commit 386f0aa

Browse files
authored
Update build-postgres-darwin.sh
1 parent 0416be9 commit 386f0aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/build-postgres-darwin.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ done
258258
cd $INSTALL_DIR
259259
rm -rf lib/pgxs/src/test/
260260
rm -rf lib/Python
261+
PG_ROUTING_SO=$(ls lib/libpgrouting-* | sed -e 's|.*/||' -e 's/\.so$//')
262+
ln -s $PG_ROUTING_SO.so lib/$PG_ROUTING_SO.dylib
261263
cp -Rf $(git rev-parse --show-toplevel)/share/postgresql/extension/* share/extension
262264
zip -r $TRG_DIR/postgres-macos.zip \
263265
share \

0 commit comments

Comments
 (0)