From 8284df1d749fa7adb334fe4f43da77bfc9c05a71 Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期四, 24 十二月 2020 11:35:02 +0800
Subject: [PATCH] add error message method
---
test_socket/Makefile | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/test_socket/Makefile b/test_socket/Makefile
index 22a401f..9e3e296 100644
--- a/test_socket/Makefile
+++ b/test_socket/Makefile
@@ -1,17 +1,16 @@
-
ROOT := ..
PLATFORM=$(shell $(ROOT)/systype.sh)
include $(ROOT)/Make.defines.$(PLATFORM)
-#RPATH += -Wl,-rpath=${ROOT}/lib
+RPATH += -Wl,-rpath=$(ROOT)/lib:$(DEST)/lib
# 寮�婧愬伐鍏峰寘璺緞
LDDIR += -L${DEST}/lib
# 寮�婧愬伐鍏峰寘
#-lusgcommon
-LDLIBS += -lshm_queue -lpthread
+LDLIBS += -lshm_queue -lpthread -lusgcommon
-INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include
+INCLUDES += -I${ROOT}/src -I${ROOT}/src/queue -I${ROOT}/src/socket -I${ROOT}/src/common/include -I$(ROOT)/include/usgcommon
PROGS = ${DEST}/dgram_mod_bus ${DEST}/dgram_mod_survey ${DEST}/dgram_mod_req_rep ${DEST}/test_timeout ${DEST}/test_open_close
--
Gitblit v1.8.0