File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -83,16 +83,19 @@ function setup_paths
8383 fi
8484
8585 if [ ! -f " ${PKG_CONFIG} " ]; then
86- echo " Pkg config does not exists in path: ${PKG_CONFIG} "
86+ echo " Pkg config does not exists in path: ${PKG_CONFIG} - Probably BUG in NDK but... "
8787 set +e
8888 SYS_PKG_CONFIG=$( which pkg-config)
8989 if [ " $? " -ne 0 ]; then
90- echo " This system does not contain system pkg-config, so we can not use it "
90+ echo " This system does not contain system pkg-config, so we can do anything "
9191 exit 1
9292 fi
9393 set -e
94- export PKG_CONFIG=${SYS_PKG_CONFIG}
95- echo " Because we have local pkg-config we will use it ${PKG_CONFIG} "
94+ cat > $PKG_CONFIG << EOF
95+ #!/bin/bash
96+ pkg-config \$ *
97+ EOF
98+ echo " Because we have local pkg-config we will create it in ${PKG_CONFIG} directory using ${SYS_PKG_CONFIG} "
9699 fi
97100}
98101
You can’t perform that action at this time.
0 commit comments