diff options
Diffstat (limited to 'test/ext')
-rw-r--r-- | test/ext/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/ext/Makefile b/test/ext/Makefile index 6436302f731..1bd035daa13 100644 --- a/test/ext/Makefile +++ b/test/ext/Makefile @@ -6,7 +6,10 @@ ifeq ($(filter centos,$(OS_ID)),$(OS_ID)) CPPBIN= endif -LIBS = -L$(VPP_TEST_BUILD_DIR)/vpp/.libs/ -L$(VPP_TEST_BUILD_DIR)/vpp/vpp-api/vapi/.libs/ -lvppinfra -lvlibmemoryclient -lsvm -lpthread -lcheck -lsubunit -lrt -lm -lvapiclient +LIBS = -L$(VPP_TEST_BUILD_DIR)/vpp/.libs/ -L$(VPP_TEST_BUILD_DIR)/vpp/vpp-api/vapi/.libs/ -lvppinfra -lvlibmemoryclient -lsvm -lpthread -lcheck -lrt -lm -lvapiclient +ifneq ($(filter opensuse,$(OS_ID)),$(OS_ID)) +LIBS += -lsubunit +endif CFLAGS = -std=gnu99 -g -Wall -pthread -I$(WS_ROOT)/src -I$(VPP_TEST_INSTALL_PATH)/vpp/include -I$(BINDIR) CPPFLAGS = -std=c++11 -g -Wall -pthread -I$(WS_ROOT)/src -I$(VPP_TEST_INSTALL_PATH)/vpp/include -I$(BINDIR) |