summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-17 15:00:37 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-17 15:00:37 +0000
commit70956b7719f37c207610b6cd6f29be123414d360 (patch)
treeca0d7f3cb1b8646fe8b6545a4d077211307ea117 /Makefile.target
parente1f63470e96665b13d8a71ce8df520ab64fdcb12 (diff)
downloadqemu-70956b7719f37c207610b6cd6f29be123414d360.tar.gz
Better way to select -lrt, by Andrzei Zaborowski.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2486 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index 8eaa8dd787..9f7a804a4f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -431,6 +431,7 @@ VL_OBJS+=$(addprefix slirp/, $(SLIRP_OBJS))
endif
VL_LDFLAGS=
+VL_LIBS=$(AIOLIBS)
# specific flags are needed for non soft mmu emulator
ifdef CONFIG_STATIC
VL_LDFLAGS+=-static
@@ -441,7 +442,7 @@ endif
ifndef CONFIG_DARWIN
ifndef CONFIG_WIN32
ifndef CONFIG_SOLARIS
-VL_LIBS=-lutil -lrt
+VL_LIBS+=-lutil
endif
endif
endif