aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest/Makefile
diff options
context:
space:
mode:
authorKonstantin Ananyev <konstantin.ananyev@intel.com>2018-02-06 22:17:36 +0000
committerKonstantin Ananyev <konstantin.ananyev@intel.com>2018-02-07 17:43:40 +0000
commit5c795f7bd17608d441d4e2c7f862ad9d45685b93 (patch)
tree96947264d77354b9cb880f86333d961d414ce689 /test/gtest/Makefile
parent3726dc50dd2a9873ac05847be80ca615ea4a708b (diff)
tldk: make sure it builds/works with latest dpdk (17.11/18.02)
Change-Id: I460b88661656b64558b442c7800b4edc20ad4b56 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'test/gtest/Makefile')
-rw-r--r--test/gtest/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/gtest/Makefile b/test/gtest/Makefile
index 648c233..c81cf4c 100644
--- a/test/gtest/Makefile
+++ b/test/gtest/Makefile
@@ -91,6 +91,8 @@ CXXFLAGS += -I$(GTEST_DIR)/include
CXXFLAGS += -I$(GMOCK_DIR)/include
CXXFLAGS += -I$(RTE_OUTPUT)/include
+CXXFLAGS += $(EXTRA_CFLAGS)
+
LDFLAGS += -lstdc++
LDFLAGS += -L$(GMOCK_DIR) -lgmock
LDLIBS += -whole-archive -ltle_l4p -ltle_dring
@@ -121,6 +123,7 @@ LDLIBS += gtest-rfc.o
LDLIBS += -lstdc++
LDLIBS += -L$(GMOCK_DIR) -lgmock
+LDLIBS += -L$(GMOCK_DIR)/gtest -lgtest
LDLIBS += -L$(RTE_OUTPUT)/lib
LDLIBS += -whole-archive -ltle_l4p -ltle_dring -ltle_timer