Displaying 2 results from an estimated 2 matches for "config_haiku".
2012 Feb 20
0
[PATCH 1/2] build: check if libm is needed in configure
...le.target | 4 ----
configure | 14 ++++++++++++++
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index a111521..1bfd419 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -33,10 +33,6 @@ endif
PROGS=$(QEMU_PROG)
STPFILES=
-ifndef CONFIG_HAIKU
-LIBS+=-lm
-endif
-
config-target.h: config-target.h-timestamp
config-target.h-timestamp: config-target.mak
diff --git a/configure b/configure
index b113f60..7bcd547 100755
--- a/configure
+++ b/configure
@@ -2447,6 +2447,20 @@ elif compile_prog "" "-lrt" ; then
LIBS=&quo...
2012 Feb 18
0
Re: [Qemu-devel] [PATCH] build: add needed missing libraries libm and librt
...y
>> diff --git a/Makefile.target b/Makefile.target
>> index a111521..95d6bc0 100644
>> --- a/Makefile.target
>> +++ b/Makefile.target
>> @@ -33,6 +33,8 @@ endif
>> PROGS=$(QEMU_PROG)
>> STPFILES=
>>
>> +LIBS+=-lrt
>> +
>> ifndef CONFIG_HAIKU
>> LIBS+=-lm
>> endif
Here's the special treatment that avoids adding -lm on Haiku host
because it doesn't have a libm.so (git-blame would've told you it's in
libroot.so there); on Darwin there's a compatibility symlink but it's in
libSystem.dylib actually and...