diff mbox

[v2,2/2] Add STD_LIBS into test app makefiles

Message ID 1394624339-6724-2-git-send-email-petri.savolainen@linaro.org
State Accepted, archived
Commit 03dfdfd6e63dc6b103908ab38d6beae6fded22a5
Headers show

Commit Message

Petri Savolainen March 12, 2014, 11:38 a.m. UTC
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
---
 test/api_test/Makefile      | 6 +++---
 test/packet/Makefile        | 2 +-
 test/packet_netmap/Makefile | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
diff mbox

Patch

diff --git a/test/api_test/Makefile b/test/api_test/Makefile
index ea3dbc4..bd99c50 100644
--- a/test/api_test/Makefile
+++ b/test/api_test/Makefile
@@ -54,15 +54,15 @@  $(OBJ_DIR)/%.o: %.c
 #
 $(ODP_ATOMIC): $(ODP_LIB) $(ATOMIC_OBJS)
 	$(ECHO) Linking $<
-	$(CC) $(LDFLAGS) $(ATOMIC_OBJS) $(ODP_LIB) -o $@
+	$(CC) $(LDFLAGS) $(ATOMIC_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
 
 $(ODP_SHM): $(ODP_LIB) $(SHM_OBJS)
 	$(ECHO) Linking $<
-	$(CC) $(LDFLAGS) $(SHM_OBJS) $(ODP_LIB) -o $@
+	$(CC) $(LDFLAGS) $(SHM_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
 
 $(ODP_RING): $(ODP_LIB) $(RING_OBJS)
 	$(ECHO) Linking $<
-	$(CC) $(LDFLAGS) $(RING_OBJS) $(ODP_LIB) -o $@
+	$(CC) $(LDFLAGS) $(RING_OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
 
 .PHONY: clean
 clean:
diff --git a/test/packet/Makefile b/test/packet/Makefile
index b4c0e5b..07ee4c3 100644
--- a/test/packet/Makefile
+++ b/test/packet/Makefile
@@ -30,7 +30,7 @@  $(OBJ_DIR)/%.o: %.c
 # Link rule
 #
 $(ODP_APP): $(ODP_LIB) $(OBJS)
-	$(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) -o $@
+	$(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
 
 .PHONY: clean
 clean:
diff --git a/test/packet_netmap/Makefile b/test/packet_netmap/Makefile
index d1bf807..a8b8532 100644
--- a/test/packet_netmap/Makefile
+++ b/test/packet_netmap/Makefile
@@ -32,7 +32,7 @@  $(OBJ_DIR)/%.o: %.c
 # Link rule
 #
 $(ODP_APP): $(ODP_LIB) $(OBJS)
-	$(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) -o $@
+	$(CC) $(LDFLAGS) $(OBJS) $(ODP_LIB) $(STD_LIBS) -o $@
 
 .PHONY: clean
 clean: