File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 2626 script :
2727 - patch -p1 -F5 < props/mkconfig.rb.diff
2828
29- - ./configure $ARGS
29+ - CC=cc ./configure $ARGS
3030
3131 # clang17 doesn't like [[maybe_unused]] on types
3232 # fix cribbed from https://github.com/ruby/ruby/pull/4603/commits/fbdff085ef3c8a56e0a33404e8795879e3167549
@@ -79,10 +79,21 @@ build:
7979 # weirdly files get put here and we can't figure out how to stop it
8080 - run : |
8181 if test -d pkgconfig; then rm -rf pkgconfig; fi
82- mv *-{{hw.platform}}*/* .
83- rmdir *-{{hw.platform}}*
82+ if test -d *-{{hw.platform}}* ; then
83+ mv *-{{hw.platform}}*/* .
84+ rmdir *-{{hw.platform}}*
85+ fi
8486 working-directory: ${{prefix}}/lib
8587 if: '>=2.6'
88+ - run : |
89+ if test *-{{hw.platform}}*/bin/ruby ; then
90+ unlink bin/ruby
91+ mv *-{{hw.platform}}*/bin/ruby bin/ruby
92+ rmdir *-{{hw.platform}}*/bin
93+ rmdir *-{{hw.platform}}*
94+ fi
95+ working-directory: ${{prefix}}
96+ if: '>=3.4'
8697
8798 - run : sed -i
8899 -e 's|$(DESTDIR){{prefix}}|$(topdir)|g'
You can’t perform that action at this time.
0 commit comments