[tnftp] Link with system libedit rather than using internal one (#1079639)

David Cantrell dcantrel at fedoraproject.org
Wed Jun 25 15:42:19 UTC 2014


commit f158ef99d06e976e84e622ad57b286e7d704c90d
Author: David Cantrell <dcantrell at redhat.com>
Date:   Wed Jun 25 11:41:48 2014 -0400

    Link with system libedit rather than using internal one (#1079639)

 tnftp.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tnftp.spec b/tnftp.spec
index 9d223b0..7cebe17 100644
--- a/tnftp.spec
+++ b/tnftp.spec
@@ -47,7 +47,7 @@ sed -i -e '/#include <sys\/featuretest\.h>/d' glob.h
 
 %build
 
-export CFLAGS="%{optflags} -D_GNU_SOURCE -D__LIBC12_SOURCE__ -D_NETBSD_SOURCE"
+export CFLAGS="%{optflags} -I$(pwd) -D_GNU_SOURCE -D__LIBC12_SOURCE__ -D_NETBSD_SOURCE"
 %configure --enable-editcomplete --enable-ipv6 --enable-ssl
 make %{?_smp_mflags}
 


More information about the scm-commits mailing list