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 25
25
build do
26
26
env = with_standard_compiler_flags ( with_embedded_path )
27
27
28
- command "./configure --prefix=#{ install_dir } /embedded" , env : env
28
+ command "./configure --disable-shared -- prefix=#{ install_dir } /embedded" , env : env
29
29
30
30
make "-j #{ workers } " , env : env
31
31
make "-j #{ workers } install" , env : env
Original file line number Diff line number Diff line change 45
45
source url : "https://github.com/crystal-lang/shards/archive/v#{ version } .tar.gz"
46
46
47
47
relative_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
+ ) )
49
52
50
53
build do
51
54
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"
53
56
end
You can’t perform that action at this time.
0 commit comments