aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-07-16 22:02:43 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-29 16:35:28 -0500
commit355b84933d2adf031850456491aaf6fd4af23f38 (patch)
tree9a53c08f571acb84d00dddd7e6d8bd39ce51eaac
parentad6ee8fe97b2a07275cab1fe15ca6dbbddc77860 (diff)
Move CLOCKLIBS and PTHREADLIBS out of CONFIG_LINUX_USER_ONLY
Otherwise, -lrt doesn't get added to the softmmu build. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile.target5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index 327b03b33f..f9cd42a94f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -262,8 +262,6 @@ endif
obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \
elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \
ioport-user.o
-LIBS+= $(PTHREADLIBS)
-LIBS+= $(CLOCKLIBS)
obj-$(TARGET_HAS_BFLT) += flatload.o
ifdef TARGET_HAS_ELFLOAD32
@@ -289,6 +287,9 @@ signal.o: CFLAGS += $(HELPER_CFLAGS)
ARLIBS=../libqemu_user.a libqemu.a
endif #CONFIG_LINUX_USER
+LIBS+= $(PTHREADLIBS)
+LIBS+= $(CLOCKLIBS)
+
#########################################################
# Darwin user emulator target