Skip to content

Commit 356c105

Browse files
authored
Merge branch 'develop' into PSQL-773
2 parents 19c238d + 7c2878c commit 356c105

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.5.1.073-orioledb"
14-
postgres17: "17.6.1.052"
15-
postgres15: "15.14.1.052"
13+
postgresorioledb-17: "17.5.1.073-orioledb-plv8-1"
14+
postgres17: "17.6.1.052-plv8-1"
15+
postgres15: "15.14.1.052-plv8-1"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.19.0

nix/ext/plv8/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
patchelf,
1515
buildEnv,
1616
nodejs_20,
17+
libcxx,
1718
}:
1819

1920
let
@@ -139,26 +140,26 @@ let
139140
${lib.optionalString stdenv.isDarwin ''
140141
install_name_tool -add_rpath "${v8}/lib" $out/lib/$LIB_NAME
141142
install_name_tool -add_rpath "${postgresql}/lib" $out/lib/$LIB_NAME
142-
install_name_tool -add_rpath "${stdenv.cc.cc.lib}/lib" $out/lib/$LIB_NAME
143+
install_name_tool -add_rpath "${libcxx}/lib" $out/lib/$LIB_NAME
143144
install_name_tool -change @rpath/libv8_monolith.dylib ${v8}/lib/libv8_monolith.dylib $out/lib/$LIB_NAME
144145
''}
145146
146147
${
147148
lib.optionalString (!stdenv.isDarwin) ''
148-
${patchelf}/bin/patchelf --set-rpath "${v8}/lib:${postgresql}/lib:${stdenv.cc.cc.lib}/lib" $out/lib/$LIB_NAME
149+
${patchelf}/bin/patchelf --set-rpath "${v8}/lib:${postgresql}/lib:${libcxx}/lib" $out/lib/$LIB_NAME
149150
''
150151
}
151152
else
152153
${lib.optionalString stdenv.isDarwin ''
153154
install_name_tool -add_rpath "${v8}/lib" $out/lib/$LIB_NAME
154155
install_name_tool -add_rpath "${postgresql}/lib" $out/lib/$LIB_NAME
155-
install_name_tool -add_rpath "${stdenv.cc.cc.lib}/lib" $out/lib/$LIB_NAME
156+
install_name_tool -add_rpath "${libcxx}/lib" $out/lib/$LIB_NAME
156157
install_name_tool -change @rpath/libv8_monolith.dylib ${v8}/lib/libv8_monolith.dylib $out/lib/$LIB_NAME
157158
''}
158159
159160
${
160161
lib.optionalString (!stdenv.isDarwin) ''
161-
${patchelf}/bin/patchelf --set-rpath "${v8}/lib:${postgresql}/lib:${stdenv.cc.cc.lib}/lib" $out/lib/$LIB_NAME
162+
${patchelf}/bin/patchelf --set-rpath "${v8}/lib:${postgresql}/lib:${libcxx}/lib" $out/lib/$LIB_NAME
162163
''
163164
}
164165
fi

0 commit comments

Comments
 (0)