Commit 0d35bf2d07668c0f749633c4dcc5a4527a37984c
1 parent
e6f9e6b4
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>
Showing
1 changed file
with
3 additions
and
2 deletions
Makefile.target
... | ... | @@ -262,8 +262,6 @@ endif |
262 | 262 | obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \ |
263 | 263 | elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \ |
264 | 264 | ioport-user.o |
265 | -LIBS+= $(PTHREADLIBS) | |
266 | -LIBS+= $(CLOCKLIBS) | |
267 | 265 | obj-$(TARGET_HAS_BFLT) += flatload.o |
268 | 266 | |
269 | 267 | ifdef TARGET_HAS_ELFLOAD32 |
... | ... | @@ -289,6 +287,9 @@ signal.o: CFLAGS += $(HELPER_CFLAGS) |
289 | 287 | ARLIBS=../libqemu_user.a libqemu.a |
290 | 288 | endif #CONFIG_LINUX_USER |
291 | 289 | |
290 | +LIBS+= $(PTHREADLIBS) | |
291 | +LIBS+= $(CLOCKLIBS) | |
292 | + | |
292 | 293 | ######################################################### |
293 | 294 | # Darwin user emulator target |
294 | 295 | ... | ... |