summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" ],
)
]
)