summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-10-23 00:16:10 +0100
committerMatthew Pickering <matthewtpickering@gmail.com>2016-10-23 00:16:10 +0100
commitaaede1ec8265f3b4f8effbf33f7fd77eb7f87f99 (patch)
treefa02926136fd013a2ed1a7a6d430f462719a1d4a /rts
parentb76cf04e652161f684fa7dbfe8d637e8f2c34e0c (diff)
downloadhaskell-aaede1ec8265f3b4f8effbf33f7fd77eb7f87f99.tar.gz
rts/package.conf.in: Fix CPP usage
Summary: The configure script sets `HAVE_LIBNUMA` to either `0` or `1` but this file had `#ifdef HAVE_LIBNUMA`. This surfaced as a side-effect of 1050e46b5b. CPP is really hard to get right. Test Plan: Validate on harbourmaster Reviewers: simonmar, bgamari, austin, mpickering Reviewed By: mpickering Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2631
Diffstat (limited to 'rts')
-rw-r--r--rts/package.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/package.conf.in b/rts/package.conf.in
index 03848c45e3..5d8ab8b244 100644
--- a/rts/package.conf.in
+++ b/rts/package.conf.in
@@ -37,7 +37,7 @@ extra-libraries:
#ifdef HAVE_LIBFFI
, "ffi"
#endif
-#ifdef HAVE_LIBNUMA
+#if HAVE_LIBNUMA
, "numa"
#endif
#ifdef mingw32_HOST_OS