summaryrefslogtreecommitdiffstats
path: root/compile.sh
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-22 08:07:19 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-22 08:07:19 +0200
commit98d6fb5d1f1cd092c8c083f62b3bac59fd86d39b (patch)
tree0872f17bc0c92f899118d23a1c31452576717d56 /compile.sh
parentcdf4608c0f69cce2d7d7a73856fff340fc8d32f8 (diff)
Enable Qphotorec compilation under cygwin
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/compile.sh b/compile.sh
index 580f1c1..fa4e877 100755
--- a/compile.sh
+++ b/compile.sh
@@ -38,7 +38,13 @@ case "$crosscompile_target" in
VER_NTFSPROGS="2.0.0"
VER_E2FSPROGS=1.41.8
;;
- *-cygwin|*-mingw32)
+ *-cygwin)
+ VER_LIBNTFS3G=
+ VER_NTFSPROGS="2.0.0"
+ VER_E2FSPROGS=1.42.2
+ export PKG_CONFIG_SYSROOT_DIR=/usr/i386-pc-cygwin/
+ ;;
+ *-mingw32)
VER_LIBNTFS3G=
VER_NTFSPROGS="2.0.0"
VER_E2FSPROGS=1.42.2
@@ -314,7 +320,7 @@ then
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --without-iconv
;;
i386-pc-cygwin)
- $confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT
+ $confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --enable-qt
;;
i386-mingw32)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-iconv --enable-missing-uuid-ok