File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 159159
160160echo -e " \n\n"
161161echo " ############## Start to build wasm app sdk ###############"
162- cd ${sdk_root} /app
163- rm -fr build && mkdir build
164- cd build
165162
166163# If wgl module is selected, check if the extra SDK include dir is passed by the args, prompt user to input if not.
167164app_all_selected=` cat ${wamr_config_cmake_file} | grep WAMR_APP_BUILD_ALL`
@@ -178,8 +175,15 @@ if [[ -n "${app_wgl_selected}" ]] || [[ -n "${app_all_selected}" ]]; then
178175 CM_DEXTRA_SDK_INCLUDE_PATH=" -DEXTRA_SDK_INCLUDE_PATH=${extra_file_path} "
179176 fi
180177 fi
178+
179+ cd ${wamr_root_dir} /core/app-framework/wgl/app
180+ ./prepare_headers.sh
181181fi
182182
183+ cd ${sdk_root} /app
184+ rm -fr build && mkdir build
185+ cd build
186+
183187out=` grep WAMR_BUILD_LIBC_WASI ${wamr_config_cmake_file} | grep 1`
184188if [ -n " $out " ]; then
185189 LIBC_SUPPORT=" WASI"
You can’t perform that action at this time.
0 commit comments