Displaying 2 results from an estimated 2 matches for "libs_qga".
2012 Feb 18
0
Re: [Qemu-devel] [PATCH] build: add needed missing libraries libm and librt
...oroutine: test-coroutine.o qemu-timer-common.o async.o $(coroutine-obj-y)
>> $(qapi-obj-y): $(GENERATED_HEADERS)
>> qapi-dir := $(BUILD_DIR)/qapi-generated
>> test-visitor.o test-qmp-commands.o qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
>> -qemu-ga$(EXESUF): LIBS = $(LIBS_QGA)
>> +qemu-ga$(EXESUF): LIBS = $(LIBS_QGA) -lm
NACK. Either needs to do LIBS += or must go in $(LIBS_QGA) or new
conditionalized variable.
>>
>> $(qapi-dir)/test-qapi-types.c $(qapi-dir)/test-qapi-types.h :\
>> $(SRC_PATH)/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-ty...
2012 Feb 20
0
[PATCH 1/2] build: check if libm is needed in configure
...#####################
+# Do we need libm
+cat > $TMPC <<EOF
+#include <math.h>
+int main(void) { double a, b; return modf(a, &b);}
+EOF
+
+if compile_prog "" "" ; then
+ :
+elif compile_prog "" "-lm" ; then
+ LIBS="-lm $LIBS"
+ libs_qga="-lm $libs_qga"
+fi
+
if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
"$aix" != "yes" -a "$haiku" != "yes" ; then
libs_softmmu="-lutil $libs_softmmu&qu...