Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created March 31, 2011 22:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/897393 to your computer and use it in GitHub Desktop.
Save isaacs/897393 to your computer and use it in GitHub Desktop.
From cd6a2a9e7fe584c69a71ed6b7900d3e966573c64 Mon Sep 17 00:00:00 2001
From: isaacs <i@izs.me>
Date: Thu, 31 Mar 2011 15:24:22 -0700
Subject: [PATCH] Tell gcc where to find gmp.h
---
wscript | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/wscript b/wscript
index f86ab08..7343c39 100644
--- a/wscript
+++ b/wscript
@@ -15,3 +15,8 @@ def build(bld):
obj.target = 'bigint'
obj.source = 'bigint.cc'
obj.cxxflags = ["-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE"]
+ obj.includes = """
+ /opt/local/include
+ /usr/local/include
+ /usr/include
+ """
--
1.7.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment