From 825f492e53776cbd5cb957a61b0299b3edf5ced2 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Jul 2008 01:12:46 +0000 Subject: Add in electric fence for now. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@19 abc39116-655e-4be6-ad55-d661dc543056 --- Makefile | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9647567..7654266 100644 --- a/Makefile +++ b/Makefile @@ -19,12 +19,12 @@ CFLAGS += -I/usr/include/python2.4 #. #. When debugging, disable -O2 and enable -g. CFLAGS += -g -DNDEBUG -CFLAGS += -O2 +#CFLAGS += -O2 SOFLAGS = -shared -fPIC # Pass linker flags here -LDFLAGS = -I/usr/include/python2.4 +LDFLAGS = -I/usr/include/python2.4 -lefence DESTDIR = prefix = /usr/local diff --git a/setup.py b/setup.py index b081e56..fb76d3a 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( "dmidecode", sources = [ "dmidecodemodule.c", "util.c", "catsprintf.c", "dmioem.c", "dmiopt.c", "dmidecode.c" ], library_dirs = [ "/home/nima/dev-room/projects/dmidecode" ], - libraries = [ "util" ], + libraries = [ "util", "efence" ], ) ] ) -- cgit