Skip to content

Commit bc61c7e

Browse files
committed
add code sign
1 parent d496aae commit bc61c7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/build-postgres-darwin.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ for binary in "${binaries_to_check[@]}"; do
180180
ln -sf "$base_name" "$INSTALL_DIR/lib/$symlink_name"
181181
fi
182182
done
183-
# codesign --force --sign - "$binary_path"
183+
codesign --force --sign - "$binary_path"
184184
fi
185185
done
186186

@@ -196,7 +196,7 @@ for icu_lib in "${icu_libs[@]}"; do
196196
otool -L "$INSTALL_DIR/lib/$icu_lib" | awk '{print $1}' | grep "@loader_path" | while read dep; do
197197
install_name_tool -change "$dep" "@loader_path/../lib/$(basename "$dep")" "$INSTALL_DIR/lib/$icu_lib"
198198
done
199-
# codesign --force --sign - "$INSTALL_DIR/lib/$icu_lib"
199+
codesign --force --sign - "$INSTALL_DIR/lib/$icu_lib"
200200
done
201201

202202
# Update library paths within each .dylib in the lib directory
@@ -216,7 +216,7 @@ for dylib in $INSTALL_DIR/lib/*.dylib; do
216216
fi
217217
done
218218
# Re-sign the library after modifying paths
219-
# codesign --force --sign - "$dylib"
219+
codesign --force --sign - "$dylib"
220220
done
221221

222222
# Package the build

0 commit comments

Comments
 (0)