File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ tmp = "#{Dir.pwd}/tmp/#{$plat}"
77toolchain_file = "#{ Dir . pwd } /ext/win.cmake"
88install_dir = "#{ tmp } /install"
99install_dll = "#{ install_dir } /bin/libtag.dll"
10- ldflags = "-static-libgcc -static-libstdc++"
11- $cross_config_options = [ %(--with-opt-dir=#{ install_dir } --with-ldflags="#{ ldflags } ") ]
10+ $cross_config_options = [ "--with-opt-dir=#{ install_dir } " ]
1211
1312taglib_version = '1.9.1'
1413taglib = "taglib-#{ taglib_version } "
6968
7069file install_dll => [ "#{ tmp } /#{ taglib } " ] do
7170 chdir "#{ tmp } /#{ taglib } " do
72- sh %(cmake -DCMAKE_INSTALL_PREFIX=#{ install_dir } -DCMAKE_TOOLCHAIN_FILE=#{ toolchain_file } -DCMAKE_SHARED_LINKER_FLAGS=" #{ ldflags } " #{ taglib_options } )
71+ sh %(cmake -DCMAKE_INSTALL_PREFIX=#{ install_dir } -DCMAKE_TOOLCHAIN_FILE=#{ toolchain_file } #{ taglib_options } )
7372 sh "make VERBOSE=1"
7473 sh "make install"
7574 end
You can’t perform that action at this time.
0 commit comments