[SerialICE] New patch to review for serialice: d20332a Fix lua detection
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Sun Apr 22 09:39:13 CEST 2012
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/918
-gerrit
commit d20332a4a817fc20aa715af2db3212e581c29b28
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Sat Apr 21 21:18:43 2012 +0300
Fix lua detection
With these changes I can used shared lua library.
Change-Id: I8bb19216aaae61fc04554a63e8b65ee84c298af1
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
qemu-0.15.x/build.sh | 2 +-
qemu-0.15.x/configure | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/qemu-0.15.x/build.sh b/qemu-0.15.x/build.sh
index 34b564c..2cac6f5 100644
--- a/qemu-0.15.x/build.sh
+++ b/qemu-0.15.x/build.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-./configure --disable-kvm --disable-sdl --enable-serialice \
+./configure --extra-ldflags="-ldl" --disable-kvm --disable-sdl --enable-serialice \
--target-list="x86_64-softmmu, i386-softmmu"
make
diff --git a/qemu-0.15.x/configure b/qemu-0.15.x/configure
index 91ecf5b..3393ab6 100755
--- a/qemu-0.15.x/configure
+++ b/qemu-0.15.x/configure
@@ -1736,7 +1736,7 @@ int main(void) { L=luaL_newstate(); return 0; }
EOF
lua_cflags="-I/usr/local/include"
- lua_ldflags="-L/usr/local/lib -llua"
+ lua_ldflags="-L/usr/local/lib -llua -lm"
if compile_prog "$lua_cflags" "$lua_ldflags" > /dev/null 2> /dev/null ; then
serialice=yes
libs_softmmu="$lua_ldflags $libs_softmmu"
More information about the SerialICE
mailing list