summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-07-14 13:37:54 -0700
committerGary E. Miller <gem@rellim.com>2015-07-14 13:37:54 -0700
commit65ae16608952d57404477073a568b411ed269a01 (patch)
tree70daf26c92d7209fdf5a2a2e8fe24ae863e93424 /SConstruct
parentd0bc4201ea43c4942f388b529afeab72335c0cd9 (diff)
downloadgpsd-65ae16608952d57404477073a568b411ed269a01.tar.gz
2nd try: Centos 6.6 requires -ltinfo. Fix the recipe to cope.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 28cebf0e..46dc4cc3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -541,6 +541,8 @@ else:
if env['ncurses']:
if config.CheckPKG('ncurses'):
ncurseslibs = pkg_config('ncurses')
+ if config.CheckPKG('tinfo'):
+ ncurseslibs += pkg_config('tinfo')
elif WhereIs('ncurses5-config'):
ncurseslibs = ['!ncurses5-config --libs --cflags']
elif WhereIs('ncursesw5-config'):