From 3c8e42db1098b72f2991bd25451a9019b57902f0 Mon Sep 17 00:00:00 2001 From: Karol Krenski Date: Sun, 14 Sep 2008 12:33:16 +0000 Subject: [PATCH] - BR: openssl-devel - pass CC; rm LDFLAGS set (not needed) Changed files: xrdp.spec -> 1.6 --- xrdp.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xrdp.spec b/xrdp.spec index a75e77d..aab0346 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -18,6 +18,7 @@ Patch0: %{name}-paths.patch Patch1: %{name}-make.patch Patch2: %{name}-signals.patch URL: http://xrdp.sourceforge.net/ +BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: rpmbuild(macros) >= 1.268 Requires(post,preun): /sbin/chkconfig @@ -54,7 +55,8 @@ install %{SOURCE6} README.PLD.pl awk '{gsub("LIBDIR","%{_libdir}"); print}' < %{SOURCE3} > xrdp.ini %build -LDFLAGS="-L%{_libdir}" %{__make} +%{__make} \ + CC="%{__cc}" %install rm -rf $RPM_BUILD_ROOT -- 2.43.0