From fb1289e6d069e1a0f14dd45ba07720f09e90ab56 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 14 七月 2020 18:34:11 +0800 Subject: [PATCH] update --- queue/Makefile | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/queue/Makefile b/queue/Makefile index c18e39a..e26b381 100644 --- a/queue/Makefile +++ b/queue/Makefile @@ -7,7 +7,7 @@ #LDDIR += -L$(ROOT)/lib/jsoncpp -L$(ROOT)/lib/nng # 寮�婧愬伐鍏峰寘 -#LDLIBS += -ljsoncpp -lnng -lpthread +LDLIBS += -lusgcommon #INCLUDE += -I$(ROOT)/device/include @@ -20,7 +20,7 @@ SOURCES := $(wildcard *.c) OBJS = $(patsubst %.c, %.o, $(SOURCES)) -MYLIBS = $(LIBSQUEUE) +MYLIBS = $(LIBSQUEUE) $(DLIBSQUEUE) all: build @@ -36,6 +36,7 @@ $(DLIBSQUEUE): $(SOURCES) rm -f *.o $(CC) -fPIC -shared $(CFLAGS) $^ -o $@ $(LDFLAGS) + #$(CC) -fPIC -shared $(CFLAGS) $(LDFLAGS) -o $@ $^ -Wl,--whole-archive $(ROOT)/lib/libusgcommon.a -Wl,--no-whole-archive #PREFIX is environment variable, but if it is not set, then set default value -- Gitblit v1.8.0