Commit 0d35bf2d07668c0f749633c4dcc5a4527a37984c

Authored by Anthony Liguori
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,8 +262,6 @@ endif
262 obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \ 262 obj-y = main.o syscall.o strace.o mmap.o signal.o path.o thunk.o \
263 elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \ 263 elfload.o linuxload.o uaccess.o envlist.o gdbstub.o gdbstub-xml.o \
264 ioport-user.o 264 ioport-user.o
265 -LIBS+= $(PTHREADLIBS)  
266 -LIBS+= $(CLOCKLIBS)  
267 obj-$(TARGET_HAS_BFLT) += flatload.o 265 obj-$(TARGET_HAS_BFLT) += flatload.o
268 266
269 ifdef TARGET_HAS_ELFLOAD32 267 ifdef TARGET_HAS_ELFLOAD32
@@ -289,6 +287,9 @@ signal.o: CFLAGS += $(HELPER_CFLAGS) @@ -289,6 +287,9 @@ signal.o: CFLAGS += $(HELPER_CFLAGS)
289 ARLIBS=../libqemu_user.a libqemu.a 287 ARLIBS=../libqemu_user.a libqemu.a
290 endif #CONFIG_LINUX_USER 288 endif #CONFIG_LINUX_USER
291 289
  290 +LIBS+= $(PTHREADLIBS)
  291 +LIBS+= $(CLOCKLIBS)
  292 +
292 ######################################################### 293 #########################################################
293 # Darwin user emulator target 294 # Darwin user emulator target
294 295