Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=setup.git;a=commitdiff;h=90f833402ef00180dea02e1a541283527781f088

commit 90f833402ef00180dea02e1a541283527781f088
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Jul 12 09:54:25 2011 +0200

fix gdb support

diff --git a/Makefile b/Makefile
index b97e044..fdc0b6c 100644
--- a/Makefile
+++ b/Makefile
@@ -699,6 +699,14 @@ gdb:
$(UNPACK); \
cp -a usr/bin/gdb ../gdb/usr/bin/

+# A minimal libpython, just to make gdb happy
+python:
+       $(CLEANUP)
+       mkdir -p python/usr/lib/python2.7
+       $(UNPACK); \
+       cp -a usr/lib/libpython* ../python/usr/lib/; \
+       touch ../python/usr/lib/python2.7/site.py
+
# Deals with only a minimal subset of valgrind to keep the initrd small
valgrind:
$(CLEANUP)
diff --git a/configure b/configure
index caf7ea0..6de9482 100755
--- a/configure
+++ b/configure
@@ -60,6 +60,7 @@ if options.debug == "gdb":
sys.stdout.write("gdb.\n")
sys.stdout.flush()
packages.append('gdb')
+       packages.append('python')
elif options.debug == "valgrind":
sys.stdout.write("valgrind.\n")
sys.stdout.flush()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to