File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2525build do
2626 env = with_standard_compiler_flags ( with_embedded_path )
2727
28- command "./configure --prefix=#{ install_dir } /embedded" , env : env
28+ command "./configure --disable-shared -- prefix=#{ install_dir } /embedded" , env : env
2929
3030 make "-j #{ workers } " , env : env
3131 make "-j #{ workers } install" , env : env
Original file line number Diff line number Diff line change 4545source url : "https://github.com/crystal-lang/shards/archive/v#{ version } .tar.gz"
4646
4747relative_path "shards-#{ version } "
48- env = with_standard_compiler_flags ( with_embedded_path )
48+ env = with_standard_compiler_flags ( with_embedded_path (
49+ "LIBRARY_PATH" => "#{ install_dir } /embedded/lib" ,
50+ "CRYSTAL_LIBRARY_PATH" => "#{ install_dir } /embedded/lib"
51+ ) )
4952
5053build do
5154 make "bin/shards SHARDS=false CRYSTAL=#{ install_dir } /bin/crystal FLAGS='--no-debug --release'" , env : env
52- command "cp bin/shards #{ install_dir } /embedded/bin/shards"
55+ copy " bin/shards" , " #{ install_dir } /embedded/bin/shards"
5356end
You can’t perform that action at this time.
0 commit comments