[openvpn-auth-ldap] Fix build on F-15+.

Matthias Saou thias at fedoraproject.org
Sat Aug 13 21:02:26 UTC 2011


commit 60d0b11f4024dbf2550827d4d8b1d50b6823cfe9
Author: Matthias Saou <matthias at saou.eu>
Date:   Sat Aug 13 22:56:57 2011 +0200

    Fix build on F-15+.

 openvpn-auth-ldap.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/openvpn-auth-ldap.spec b/openvpn-auth-ldap.spec
index f70e59a..62e12a3 100644
--- a/openvpn-auth-ldap.spec
+++ b/openvpn-auth-ldap.spec
@@ -35,7 +35,10 @@ install -p -m 0644 %{SOURCE1} .
 
 
 %build
+# Fix undefined objc_msgSend reference (nope, the with-objc-runtime is enough)
+#export OBJCFLAGS=-fobjc-abi-version=2
 %configure \
+    --with-objc-runtime=GNU \
     --libdir=%{_libdir}/openvpn/plugin/lib \
     --with-openvpn="`pwd`"
 make %{?_smp_mflags}
@@ -66,6 +69,7 @@ rm -rf %{buildroot}
 %changelog
 * Sat Aug 13 2011 Matthias Saou <matthias at saou.eu> 2.0.3-8
 - Minor spec file cleanups.
+- Fix build on F-15+.
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.3-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list