Last active
June 29, 2017 05:43
-
-
Save sohgoh/1a7d0e72ac9b44bfe8d88feb46e3fd1a to your computer and use it in GitHub Desktop.
Revisions
-
sohgoh revised this gist
Jun 29, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ #!/bin/bash # Run in libimobiledevice root directory export install_dir="/directory-as-you-like" export openssl_dir="/usr/local/Cellar/openssl/1.0.2k" export pkg_config_macro="/usr/local/share/aclocal/pkg.m4" -
sohgoh created this gist
Jun 29, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ #!/bin/bash export install_dir="/directory-as-you-like" export openssl_dir="/usr/local/Cellar/openssl/1.0.2k" export pkg_config_macro="/usr/local/share/aclocal/pkg.m4" export libzip_CFLAGS="-I${install_dir}/lib/libzip/include -I${install_dir}/include" export libzip_LIBS="-L${install_dir}/lib -lzip -lz" export libxml2_CFLAGS="-I${install_dir}/include/libxml2" export libxml2_LIBS="-L${install_dir}/lib -lxml2" export libplist_CFLAGS="-I${install_dir}/include" export libplist_LIBS="-L${install_dir}/lib -lplist" export libusbmuxd_CFLAGS="-I${install_dir}/include" export libusbmuxd_LIBS="-L${install_dir}/lib -lusbmuxd" #export libimobiledevice_CFLAGS="-I${install_dir}/include" #export libimobiledevice_LIBS="-L${install_dir}/lib -limobiledevice" export openssl_CFLAGS="-I${install_dir}/include -I/usr/include -I${openssl_dir}/include" export openssl_LIBS="-L${openssl_dir}/lib -lssl -lcrypto -lz" if [ ! -e "./m4/pkg.m4" ]; then cd m4 ln -s ${pkg_config_macro} . cd .. fi make clean ./autogen.sh #./configure --prefix=${install_dir} --enable-debug-code ./configure --prefix=${install_dir} make