Skip to content

Commit

Permalink
Adjust library extension for PG16
Browse files Browse the repository at this point in the history
Since 3727aa7 we use PG16 for homebrew builds. However, since PG 16 the extension of the library has changed to .dylib. This patch adjusts the installation scripts.
  • Loading branch information
jnidzwetzki committed Dec 2, 2023
1 parent 3727aa7 commit 5f635cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timescaledb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def install
`chmod +x timescaledb_move.sh`
`echo "#!/bin/bash" >> timescaledb_move.sh`
`echo "echo 'Moving files into place...'" >> timescaledb_move.sh`
`echo "/usr/bin/install -c -m 755 \\\$(find #{lib} -name timescaledb*.so) #{libdir.strip}/" >> timescaledb_move.sh`
`echo "/usr/bin/install -c -m 755 \\\$(find #{lib} -name timescaledb*.dylib) #{libdir.strip}/" >> timescaledb_move.sh`
`echo "/usr/bin/install -c -m 644 #{share}/timescaledb/* #{sharedir.strip}/extension/" >> timescaledb_move.sh`
`echo "echo 'Success.'" >> timescaledb_move.sh`
bin.install "timescaledb_move.sh"
Expand Down

0 comments on commit 5f635cd

Please sign in to comment.