Skip to content

Commit 68e3a30

Browse files
committed
Add headerpad to compile flags based on CI error message
1 parent 03b6b5d commit 68e3a30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ mkdir -p ../../../../_spidermonkey_install/
7878
--disable-jemalloc \
7979
--disable-tests \
8080
--enable-optimize \
81-
--disable-explicit-resource-management
81+
--disable-explicit-resource-management \
8282
# disable-explicit-resource-management: Disable the `using` syntax that is enabled by default in SpiderMonkey nightly, otherwise the header files will disagree with the compiled lib .so file
8383
# when it's using a `IF_EXPLICIT_RESOURCE_MANAGEMENT` macro, e.g., the `enum JSProtoKey` index would be off by 1 (header `JSProto_Uint8Array` 27 will be interpreted as `JSProto_Int8Array` in lib as lib has an extra element)
8484
# https://bugzilla.mozilla.org/show_bug.cgi?id=1940342
@@ -87,7 +87,7 @@ echo "Done building spidermonkey"
8787

8888
echo "Installing spidermonkey"
8989
# install to ../../../../_spidermonkey_install/
90-
make install
90+
make install -headerpad_max_install_names
9191
if [[ "$OSTYPE" == "darwin"* ]]; then # macOS
9292
cd ../../../../_spidermonkey_install/lib/
9393
# Set the `install_name` field to use RPATH instead of an absolute path

0 commit comments

Comments
 (0)