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>
This commit is contained in:
parent
e6f9e6b496
commit
0d35bf2d07
@ -262,8 +262,6 @@ endif
|
|||||||
obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \
|
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 \
|
elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \
|
||||||
ioport-user.o
|
ioport-user.o
|
||||||
LIBS+= $(PTHREADLIBS)
|
|
||||||
LIBS+= $(CLOCKLIBS)
|
|
||||||
obj-$(TARGET_HAS_BFLT) += flatload.o
|
obj-$(TARGET_HAS_BFLT) += flatload.o
|
||||||
|
|
||||||
ifdef TARGET_HAS_ELFLOAD32
|
ifdef TARGET_HAS_ELFLOAD32
|
||||||
@ -289,6 +287,9 @@ signal.o: CFLAGS += $(HELPER_CFLAGS)
|
|||||||
ARLIBS=../libqemu_user.a libqemu.a
|
ARLIBS=../libqemu_user.a libqemu.a
|
||||||
endif #CONFIG_LINUX_USER
|
endif #CONFIG_LINUX_USER
|
||||||
|
|
||||||
|
LIBS+= $(PTHREADLIBS)
|
||||||
|
LIBS+= $(CLOCKLIBS)
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# Darwin user emulator target
|
# Darwin user emulator target
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user