From: Anthony Liguori Date: Fri, 17 Jul 2009 03:02:43 +0000 (-0500) Subject: Move CLOCKLIBS and PTHREADLIBS out of CONFIG_LINUX_USER_ONLY X-Git-Tag: v0.11.0-rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=355b84933d2adf031850456491aaf6fd4af23f38;p=thirdparty%2Fqemu.git 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 --- diff --git a/Makefile.target b/Makefile.target index 327b03b33f1..f9cd42a94fc 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