Skip to content

Commit

Permalink
make mac dmd just work
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdruppe committed Sep 22, 2024
1 parent 060a78e commit d9ad879
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/5-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ runs:
if [[ '${{ runner.os }}' == Windows ]]; then
echo -e '[Environment64]\nDFLAGS=-I%@P%/../import ucrtbase.lib\nLIB=%@P%/../lib;%@P%/../lib/mingw' > install/bin/dmd.conf
fi
if [[ '${{ runner.os }}' == macOS ]]; then
echo -e '[Environment64]\nDFLAGS=-I%@P%/../import -L-L%@P%/../lib -fPIC' > install/bin/dmd.conf
fi
cp opend/phobos/generated/*/release/64/*.a install/lib
cp -a opend/phobos/generated/*/release/64/*.so* install/lib
cp -a opend/phobos/generated/*/release/64/*.dylib* install/lib
Expand Down

0 comments on commit d9ad879

Please sign in to comment.