[libfakekey] - fix linking with --no-add-needed (#564882)

Dan Horák sharkcz at fedoraproject.org
Thu Sep 2 09:23:17 UTC 2010


commit ad6c9cc5a97df2339a5048b6343d993945e7d442
Author: Dan Horák <dan at danny.cz>
Date:   Thu Sep 2 11:23:18 2010 +0200

    - fix linking with --no-add-needed (#564882)

 libfakekey.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libfakekey.spec b/libfakekey.spec
index a05fe0a..8f970f6 100644
--- a/libfakekey.spec
+++ b/libfakekey.spec
@@ -1,6 +1,6 @@
 Name:           libfakekey
 Version:        0.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Library for converting characters to X key-presses
 
 Group:          System Environment/Libraries
@@ -32,7 +32,7 @@ developing applications that use %{name}.
 
 %build
 %configure --disable-static
-make %{?_smp_mflags}
+make %{?_smp_mflags} AM_LDFLAGS=-lX11
 
 
 %install
@@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/libfakekey.pc
 
 %changelog
+* Thu Sep  2 2010 Dan Horák <dan[at]danny.cz> - 0.1-4
+- fix linking with --no-add-needed (#564882)
+
 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list