Skip to content

Commit

Permalink
enable APItest.bundle loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Palao committed Aug 29, 2021
1 parent 49c967a commit 9a838d7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ios/test.sh
Expand Up @@ -252,6 +252,14 @@ cp -R "$WORKDIR/camelbones/CamelBones/CPAN/." $CAMELBONES_CPAN_DIR/
PERL_ARCH="$ARCHS" DEBUG=1 sh -x "perl-$PERL_VERSION/ios/build.sh"
check_exit_code

# enable APItest.bundle loading
mkdir -p "$INSTALL_DIR/lib/perl5/$PERL_VERSION/darwin-thread-multi-2level/auto/XS/APItest"
cp "perl-$PERL_VERSION/lib/auto/XS/APItest/APItest.bs" "$INSTALL_DIR/lib/perl5/$PERL_VERSION/darwin-thread-multi-2level/auto/XS/APItest"
cp "perl-$PERL_VERSION/lib/auto/XS/APItest/APItest.bundle" "$INSTALL_DIR/lib/perl5/$PERL_VERSION/darwin-thread-multi-2level/auto/XS/APItest"

mkdir -p "$INSTALL_DIR/lib/perl-$PERL_VERSION/lib/XS/"
cp "perl-$PERL_VERSION/lib/XS/APItest.pm" "$INSTALL_DIR/lib/perl-$PERL_VERSION/lib/XS/"

test_perl_device

echo "Build finished: $(date)"

0 comments on commit 9a838d7

Please sign in to comment.