diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-07 15:05:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-07 15:05:14 -0400 |
commit | 8b51c7e88e8c52ddb44e2969c1133207eb4536a5 (patch) | |
tree | 9d5175290239a7c291a2ccc6d2a179cd8d43cfad /standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch | |
parent | 4e8fed7949e95b7081d7d850ddae9ad874620ff2 (diff) |
rename patches for consistenct and machine application
Diffstat (limited to 'standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch')
-rw-r--r-- | standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch b/standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch new file mode 100644 index 000000000..05495a320 --- /dev/null +++ b/standalone/android/haskell-patches/gsasl_0.3.5-0001-link-with-libgsasl.patch @@ -0,0 +1,27 @@ +From c7d39a8f91af93203194313195a79b04d80a16a3 Mon Sep 17 00:00:00 2001 +From: Joey Hess <joey@kitenet.net> +Date: Sun, 21 Apr 2013 15:22:00 -0400 +Subject: [PATCH] link with libgsasl + +This requires libgsasl.a (and no .so) be installed in the ugly hardcoded +lib dir. When built this way, the haskell gsasl library will link the +library into executables with no further options. +--- + gsasl.cabal | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gsasl.cabal b/gsasl.cabal +index c5c2b19..a31cc71 100644 +--- a/gsasl.cabal ++++ b/gsasl.cabal +@@ -27,6 +27,7 @@ library + ghc-options: -Wall -O2 + hs-source-dirs: lib + c-sources: cbits/hsgsasl-shim.c ++ LD-Options: -L /home/joey/.ghc/android-14/arm-linux-androideabi-4.7/arm-linux-androideabi/sysroot/usr/lib/ + + build-depends: + base >= 4.0 && < 5.0 +-- +1.7.10.4 + |