File tree Expand file tree Collapse file tree 5 files changed +10
-14
lines changed Expand file tree Collapse file tree 5 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 374
374
375
375
cd -
376
376
377
- local_library_install_path=$cfg_platform_name /$archive_name /prebuilt/$original_arch_name
378
- mkdir -p $cfg_platform_name /include/$archive_name
379
- if [ $cfg_platform_name = " android" ]; then
380
- local_library_install_path=$cfg_platform_name /$original_arch_name
381
- fi
377
+ local_library_install_path=$cfg_platform_name /$original_arch_name
382
378
383
379
if [ ! -d $local_library_install_path ]; then
384
380
echo " create folder for library with specify arch. $local_library_install_path "
405
401
for dep_archive in ${original_dependent_archive_list[@]}
406
402
do
407
403
local_library_install_path=$cfg_platform_name /${dep_archive} /prebuilt/$original_arch_name
408
- if [ $cfg_platform_name = " android" ]; then
404
+ if [ $cfg_platform_name = " android" ] || [ $cfg_platform_name = " linux " ]; then
409
405
local_library_install_path=$cfg_platform_name /$original_arch_name
410
406
fi
411
407
mkdir -p $local_library_install_path
416
412
417
413
418
414
echo " Copying needed heder files"
415
+ mkdir -p $cfg_platform_name /$arch /include/$archive_name
419
416
copy_include_file_path=${lib} _header_files
420
417
src_directory=$top_dir /contrib/$install_library_path /$arch /include/${! copy_include_file_path}
421
418
echo $src_directory
422
- destination_header_path=$cfg_platform_name /include/$archive_name /
419
+ destination_header_path=$cfg_platform_name /$arch / include/$archive_name /
423
420
if [ -d $src_directory ]; then
424
421
cp -r $src_directory /* $destination_header_path
425
422
else
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ cfg_i386_host_machine="i386-linux-gnu"
17
17
18
18
19
19
cfg_all_supported_arches =(" i386" " x86_64" )
20
- cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer " " minizip" " tinyxml " " cjson" " luasocket" )
20
+ cfg_all_supported_libraries =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffers " " minizip" " tinyxml2 " " cjson" " luasocket" " box2d " " glfw " )
21
21
cfg_default_arches_all =(" x86_64" )
22
- cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffer " " minizip" " tinyxml " " cjson" " luasocket" )
22
+ cfg_default_libraries_all =(" png" " zlib" " lua" " luajit" " websockets" " curl" " freetype" " jpeg" " tiff" " webp" " chipmunk" " openssl" " edtaa3func" " xxhash" " xxtea" " convertutf" " flatbuffers " " minizip" " tinyxml2 " " cjson" " luasocket" " box2d " " glfw " )
23
23
24
24
25
25
cfg_build_fat_library =no
26
- cfg_build_release_mode =" -O3 -DNDEBUG"
27
- cfg_build_debug_mode =" -O0 -g -DDEBUG"
26
+ cfg_build_release_mode =" -O3 -DNDEBUG "
27
+ cfg_build_debug_mode =" -O0 -g -DDEBUG "
28
28
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ FLATBUFFERS_GITURL := https://github.com/google/flatbuffers.git
5
5
$(TARBALLS ) /flatbuffers-git.tar.xz :
6
6
$(call download_git,$(FLATBUFFERS_GITURL ) ,master,1e4d28b)
7
7
8
-
9
8
.sum-flatbuffers : flatbuffers-git.tar.xz
10
9
$(warning $@ not implemented)
11
10
touch $@
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ luasocket: libluasocket-git.tar.xz .sum-luasocket
18
18
# DEPS_luasocket = lua $(DEPS_lua)
19
19
20
20
.luasocket : luasocket toolchain.cmake
21
- cd $< && $(HOSTVARS ) ${CMAKE} -DLUA_INCLUDE_DIR=$(PREFIX )
21
+ cd $< && $(HOSTVARS ) ${CMAKE} -DLUA_INCLUDE_DIR=$(PREFIX ) -DCMAKE_INSTALL_PREFIX:PATH= $( PREFIX )
22
22
cd $< && $(MAKE ) VERBOSE=1 install
23
23
touch $@
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ tinyxml2: libtinyxml2-git.tar.xz .sum-tinyxml2
17
17
$(MOVE )
18
18
19
19
.tinyxml2 : tinyxml2 toolchain.cmake
20
- cd $< && $(HOSTVARS ) ${CMAKE}
20
+ cd $< && $(HOSTVARS ) ${CMAKE} -DCMAKE_INSTALL_PREFIX:PATH= $( PREFIX )
21
21
cd $< && $(MAKE ) VERBOSE=1 install
22
22
touch $@
You can’t perform that action at this time.
0 commit comments