summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@abc39116-655e-4be6-ad55-d661dc543056>2008-07-25 01:12:46 +0000
committerroot <root@abc39116-655e-4be6-ad55-d661dc543056>2008-07-25 01:12:46 +0000
commit825f492e53776cbd5cb957a61b0299b3edf5ced2 (patch)
tree29c2e21d11fdeb56809cd44c103f61afcefe44ea
parentb163757a47d525019cebae8e1ecb843a49a14196 (diff)
downloadpython-dmidecode-825f492e53776cbd5cb957a61b0299b3edf5ced2.tar.gz
python-dmidecode-825f492e53776cbd5cb957a61b0299b3edf5ced2.tar.xz
python-dmidecode-825f492e53776cbd5cb957a61b0299b3edf5ced2.zip
Add in electric fence for now.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@19 abc39116-655e-4be6-ad55-d661dc543056
-rw-r--r--Makefile4
-rw-r--r--setup.py2
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" ],
)
]
)