summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-29 22:58:56 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-29 22:58:56 +0000
commit23e505b32bfdac4bdbd14298d7b387597515392a (patch)
treee66d08b43e675e407d83ac740a05d76a6a3679f4 /uisimulator
parenta7f4e1f1c51c6f99d17eb25dbdd57a78af4cb0e1 (diff)
downloadrockbox-23e505b32bfdac4bdbd14298d7b387597515392a.tar.gz
rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.tar.bz2
rockbox-23e505b32bfdac4bdbd14298d7b387597515392a.zip
Fix reds. libuisimulator.a apparently needs to be linked twice (aka quick fix as I don't know a better solution yet) :/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/uisimulator.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/uisimulator/uisimulator.make b/uisimulator/uisimulator.make
index 9aeb02cd3d..121f31e0f6 100644
--- a/uisimulator/uisimulator.make
+++ b/uisimulator/uisimulator.make
@@ -28,8 +28,9 @@ $(SIMLIB): $$(SIMOBJ) $(UIBMP)
$(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
-$(BUILDDIR)/$(BINARY): $$(OBJ) $(FIRMLIB) $(SIMLIB) $(VOICESPEEXLIB)
- $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(LDOPTS)
+# SIMLIB needs to be linked twice for some reason
+$(BUILDDIR)/$(BINARY): $$(OBJ) $(SIMLIB) $(VOICESPEEXLIB) $(FIRMLIB)
+ $(call PRINTS,LD $(BINARY))$(CC) -o $@ $^ $(SIMLIB) $(LDOPTS)
$(BUILDDIR)/uisimulator/%.o: $(ROOTDIR)/uisimulator/%.c
$(SILENT)mkdir -p $(dir $@)