File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 405
405
406
406
407
407
echo " Copying needed heder files"
408
+ # determine the real folder name
409
+ parse_original_library_folder_name=${lib} _header_files_folder
410
+ library_include_folder_name=${! parse_original_library_folder_name}
411
+ if [ -z $library_include_folder_name ]; then
412
+ library_include_folder_name=$archive_name
413
+ fi
414
+
415
+
408
416
# copy header files for ios & mac
409
417
if [ $cfg_platform_name = " ios" ] || [ $cfg_platform_name = " mac" ]; then
410
- if [ ! -d $top_dir /build/$cfg_platform_name /include/$archive_name ]; then
411
- mkdir -p $top_dir /build/$cfg_platform_name /include/$archive_name
418
+ if [ ! -d $top_dir /build/$cfg_platform_name /include/$library_include_folder_name ]; then
419
+ mkdir -p $top_dir /build/$cfg_platform_name /include/$library_include_folder_name
412
420
fi
413
421
fi
414
422
415
- mkdir -p $cfg_platform_name /$original_arch_name /include/$archive_name
423
+ mkdir -p $cfg_platform_name /$original_arch_name /include/$library_include_folder_name
416
424
copy_include_file_path=${lib} _header_files
417
425
src_directory=$top_dir /contrib/$install_library_path /$arch /include/${! copy_include_file_path}
418
426
echo $src_directory
419
- destination_header_path=$cfg_platform_name /$original_arch_name /include/$archive_name /
427
+ destination_header_path=$cfg_platform_name /$original_arch_name /include/$library_include_folder_name
420
428
421
429
if [ $cfg_platform_name = " ios" ] || [ $cfg_platform_name = " mac" ]; then
422
- destination_header_path=$cfg_platform_name /include/$archive_name
430
+ destination_header_path=$cfg_platform_name /include/$library_include_folder_name
423
431
fi
424
432
425
433
Original file line number Diff line number Diff line change @@ -27,13 +27,16 @@ box2d_header_files=Box2D
27
27
ssl_header_files =openssl
28
28
glfw_header_files =GLFW
29
29
30
+ # header files Folder
31
+ box2d_header_files_folder =Box2D
30
32
31
33
# #archive prebuilt name
32
34
luajit_original_name =luajit-5.1
33
35
box2d_original_name =Box2D
34
36
flatbuffers_original_name =flatbuffer
35
37
glfw_original_name =glfw3
36
38
39
+
37
40
# #archive_alias
38
41
zlib_archive_alias =z
39
42
openssl_archive_alias =ssl
You can’t perform that action at this time.
0 commit comments