Commit f90d1486 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Fixed COMPAT symbol

parent 31f46bb6
......@@ -12,12 +12,12 @@ LDLIBS=-llabcomm$(LIBVERSION)
ifeq ($(CROSS_COMPILE),i586-wrs-vxworks-)
ALL_DEPS:=$(filter-out %.so, $(ALL_DEPS)) # PIC is only supported for RTPs
CFLAGS:=$(CFLAGS) -DLABCOMM_COMPAT=\"labcomm$(VERSION)_compat_vxworks.h\"
CFLAGS:=$(CFLAGS) -DLABCOMM2014_COMPAT=\"labcomm$(VERSION)_compat_vxworks.h\"
else ifeq ($(UNAME_S),Linux)
LDLIBS+=-lrt
MAKESHARED=gcc -o $1 -shared -Wl,-soname,$2 $3 -lc -lrt
else ifeq ($(UNAME_S),Darwin)
CFLAGS+=-DLABCOMM_COMPAT=\"labcomm$(VERSION)_compat_osx.h\" \
CFLAGS+=-DLABCOMM2014_COMPAT=\"labcomm$(VERSION)_compat_osx.h\" \
-DLABCOMM_OS_DARWIN=1 \
-Wno-unused-function
MAKESHARED=clang -o $1 -shared -Wl,-install_name,$2 $3 -lc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment