From b750d359d742349be27463a5408f352aa042fdec Mon Sep 17 00:00:00 2001
From: wangzhengquan <wangzhengquan85@126.com>
Date: 星期五, 15 一月 2021 15:59:31 +0800
Subject: [PATCH] update

---
 test_socket/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test_socket/Makefile b/test_socket/Makefile
index 47331b4..9e3e296 100644
--- a/test_socket/Makefile
+++ b/test_socket/Makefile
@@ -2,13 +2,13 @@
 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 -I$(ROOT)/include/usgcommon
 

--
Gitblit v1.8.0