diff options
-rwxr-xr-x | Makefile | 2 | ||||
-rwxr-xr-x | channel.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -183,7 +183,7 @@ CFLAGS+=$(shell if [ -f $(CROSS_COMPILE_TARGET)/usr/include/osp/osp.h ]; then ec ifeq (${OSARCH},FreeBSD) OSVERSION=$(shell make -V OSVERSION -f $(CROSS_COMPILE_TARGET)/usr/share/mk/bsd.port.subdir.mk) CFLAGS+=$(shell if test ${OSVERSION} -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) -LIBS+=$(shell if test ${OSVERSION} -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) +LIBS+=$(shell if test ${OSVERSION} -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi) -L$(CROSS_COMPILE_TARGET)/usr/local/lib INCLUDE+=-I$(CROSS_COMPILE_TARGET)/usr/local/include CFLAGS+=$(shell if [ -d $(CROSS_COMPILE_TARGET)/usr/local/include/spandsp ]; then echo "-I$(CROSS_COMPILE_TARGET)/usr/local/include/spandsp"; fi) MPG123TARG=freebsd @@ -33,7 +33,7 @@ #endif #ifdef __FreeBSD__ #include <strfunc.h> -#ifndef __STRFUNC_H__ +#if (!defined(__STRFUNC_H__) || (!defined(STRFUNC_H)) #error "Please install the strfunc library located in the ports collection at /usr/ports/devel/libstrfunc" #endif #endif |