Last active
August 30, 2019 21:36
-
-
Save pgeraghty/47c26ba239abd9a54f785eafb7034011 to your computer and use it in GitHub Desktop.
Allow compilation of statically-linked binary for Crystal Lang on Alpine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hack to avoid segfault during compilation of statically-linked binary on Alpine | |
{% if flag?(:static) %} | |
require "llvm/lib_llvm" | |
require "llvm/enums" | |
{% end %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment