summaryrefslogtreecommitdiffstats
path: root/src/libotr-1-fixes.patch
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2017-03-16 05:15:06 (GMT)
committerBoris Pek <tehnick-8@yandex.ru>2017-03-20 14:35:18 (GMT)
commit0758a5b0f43cbc81477487e615c5a047de927567 (patch)
tree99335bfadfc0a644d1569b3427acbf122b465cda /src/libotr-1-fixes.patch
parent91366438f4c25c701afcd33490ab93d82e647004 (diff)
downloadmxe-0758a5b0f43cbc81477487e615c5a047de927567.zip
mxe-0758a5b0f43cbc81477487e615c5a047de927567.tar.gz
mxe-0758a5b0f43cbc81477487e615c5a047de927567.tar.bz2
libotr: add missing linker flags to the pc file
Diffstat (limited to 'src/libotr-1-fixes.patch')
-rw-r--r--src/libotr-1-fixes.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libotr-1-fixes.patch b/src/libotr-1-fixes.patch
index 8eb0daf..77d4425 100644
--- a/src/libotr-1-fixes.patch
+++ b/src/libotr-1-fixes.patch
@@ -21,3 +21,23 @@ index 1111111..2222222 100644
noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h
+
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Boris Nagaev <bnagaev@gmail.com>
+Date: Thu, 16 Mar 2017 06:09:50 +0100
+Subject: [PATCH] .pc: add -fstack-protector-all and private libs
+
+The flags taken from the build log.
+
+diff --git a/libotr.pc.in b/libotr.pc.in
+index 1111111..2222222 100644
+--- a/libotr.pc.in
++++ b/libotr.pc.in
+@@ -7,5 +7,6 @@ Name: libotr
+ Description: Off-the-Record Messaging Library
+ Version: @VERSION@
+ URL: https://otr.cypherpunks.ca/
+-Libs: -L${libdir} -lotr
++Libs: -L${libdir} -lotr -fstack-protector-all
++Libs.private: -lgcrypt -lgpg-error -lintl -liconv
+ Cflags: -I${includedir}