From 27f94dbe610e7c30573c741a3a1be09b360e95a7 Mon Sep 17 00:00:00 2001
From: "Meredith L. Patterson" <mlp@thesmartpolitenerd.com>
Date: Sun, 17 Nov 2013 20:41:56 -0600
Subject: [PATCH] helps to link against the library...

---
 src/bindings/python/SConscript | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bindings/python/SConscript b/src/bindings/python/SConscript
index 29d1ad96..2b1c4cc1 100644
--- a/src/bindings/python/SConscript
+++ b/src/bindings/python/SConscript
@@ -5,6 +5,8 @@ pythonenv = env.Clone()
 
 pythonenv.Append(CPPPATH = ['../../', '/usr/include/python2.7'])
 pythonenv.Append(CCFLAGS = ['-fpic', '-DSWIG', '-Wno-all', '-Wno-extra', '-Wno-error'])
+pythonenv.Append(LIBS = ['hammer'])
+pythonenv.Append(LIBPATH = ['../../'])
 pythonenv.Append(SWIGFLAGS = ['-DHAMMER_INTERNAL__NO_STDARG_H', '-Isrc/', '-python'])
 
 pythonenv.Command("hammer.i", "../swig/hammer.i", Copy("$TARGET", "$SOURCE"))
-- 
GitLab