abe5866
diff -up gpgme-1.3.2/src/gpgme-config.in.largefile gpgme-1.3.2/src/gpgme-config.in
abe5866
--- gpgme-1.3.2/src/gpgme-config.in.largefile	2012-09-26 10:10:37.882744198 +0200
abe5866
+++ gpgme-1.3.2/src/gpgme-config.in	2012-09-26 10:16:02.558762827 +0200
abe5866
@@ -41,6 +41,10 @@ cflags_pthread=""
07d90f8
 cflags_glib="@GLIB_CFLAGS@"
07d90f8
 with_glib=
07d90f8
 
2c122df
+if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then
07d90f8
+    cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
07d90f8
+fi
07d90f8
+
07d90f8
 output=""
07d90f8
 
07d90f8
 usage()
abe5866
@@ -105,6 +109,9 @@ while test $# -gt 0; do
07d90f8
 	    exit 0
07d90f8
 	    ;;
07d90f8
         --cflags)
07d90f8
+	    if test "x$cflags_lfs" != "x"; then
07d90f8
+		output="$output $cflags_lfs"
07d90f8
+	    fi
abe5866
             result=
abe5866
             tmp_c=
abe5866
             tmp_g=