summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 22:17:34 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 22:17:34 +0000
commit6ac64206f3f06e8860b77488d9dc70bc8ab659af (patch)
treea5a43d1aae1fad29a55263101fde343dd5355d5b /tools
parentab4a16276306c7739d17f9abddc736ce45b58e7d (diff)
downloadrockbox-6ac64206f3f06e8860b77488d9dc70bc8ab659af.tar.gz
rockbox-6ac64206f3f06e8860b77488d9dc70bc8ab659af.tar.bz2
rockbox-6ac64206f3f06e8860b77488d9dc70bc8ab659af.zip
Revert r25854 which was bad for the database tool (I forgot it still needs the wrappers from uisimulator/common/io.c). Fix it so it works for both.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25856 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/database/SOURCES2
-rw-r--r--tools/database/database.make2
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/database/SOURCES b/tools/database/SOURCES
index 56bb9f1323..cef0e96eec 100644
--- a/tools/database/SOURCES
+++ b/tools/database/SOURCES
@@ -8,8 +8,6 @@ database.c
../../apps/mp3data.c
../../apps/tagcache.c
../../firmware/common/crc32.c
-../../firmware/common/ctype.c
-../../firmware/common/errno.c
../../firmware/common/strlcpy.c
../../firmware/common/strcasestr.c
../../firmware/common/structec.c
diff --git a/tools/database/database.make b/tools/database/database.make
index 62b2e9f24c..54913d8d4a 100644
--- a/tools/database/database.make
+++ b/tools/database/database.make
@@ -40,7 +40,7 @@ GCCOPTS+=`$(SDLCONFIG) --cflags`
OLDGCCOPTS:=$(GCCOPTS)
GCCOPTS+=-D__PCTOOL__ $(FIRMINC) $(SIMINCLUDES)
-LIBS=`$(SDLCONFIG) --libs`
+LIBS=`$(SDLCONFIG) --libs` -lc
ifneq ($(findstring MINGW,$(shell uname)),MINGW)
LIBS += -ldl
endif