Skip to content
Snippets Groups Projects
Commit f90d1486 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Fixed COMPAT symbol

parent 31f46bb6
No related branches found
No related tags found
No related merge requests found
...@@ -12,12 +12,12 @@ LDLIBS=-llabcomm$(LIBVERSION) ...@@ -12,12 +12,12 @@ LDLIBS=-llabcomm$(LIBVERSION)
ifeq ($(CROSS_COMPILE),i586-wrs-vxworks-) ifeq ($(CROSS_COMPILE),i586-wrs-vxworks-)
ALL_DEPS:=$(filter-out %.so, $(ALL_DEPS)) # PIC is only supported for RTPs 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) else ifeq ($(UNAME_S),Linux)
LDLIBS+=-lrt LDLIBS+=-lrt
MAKESHARED=gcc -o $1 -shared -Wl,-soname,$2 $3 -lc -lrt MAKESHARED=gcc -o $1 -shared -Wl,-soname,$2 $3 -lc -lrt
else ifeq ($(UNAME_S),Darwin) 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 \ -DLABCOMM_OS_DARWIN=1 \
-Wno-unused-function -Wno-unused-function
MAKESHARED=clang -o $1 -shared -Wl,-install_name,$2 $3 -lc MAKESHARED=clang -o $1 -shared -Wl,-install_name,$2 $3 -lc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment