From 622707442529814a690fa368631db643dbaed152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E8=8B=8F=E7=9A=96?= Date: Mon, 19 Dec 2022 13:22:42 +0000 Subject: [PATCH] =?UTF-8?q?fix=20dependent=20error=20in=20Makefile=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86Makefile=E4=B8=AD=E7=9A=84=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BE=9D=E8=B5=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙苏皖 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 12f1fb2..b4e73fc 100644 --- a/Makefile +++ b/Makefile @@ -160,7 +160,7 @@ obj/so/libre2.$(SOEXT): $(SOFILES) libre2.symbols libre2.symbols.darwin ln -sf libre2.$(SOEXTVER) $@ .PRECIOUS: obj/dbg/test/% -obj/dbg/test/%: obj/dbg/libre2.a obj/dbg/re2/testing/%.o $(DTESTOFILES) obj/dbg/re2/testing/util/test.o +obj/dbg/test/%: libcapi.a obj/dbg/libre2.a obj/dbg/re2/testing/%.o $(DTESTOFILES) obj/dbg/re2/testing/util/test.o @mkdir -p obj/dbg/test $(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/re2/testing/util/test.o obj/dbg/libre2.a target/release/libcapi.a $(RE2_LDFLAGS) $(LDFLAGS) @@ -245,7 +245,7 @@ static-install: obj/libre2.a common-install .PHONY: shared -shared: obj/so/libre2.$(SOEXT) +shared: libcapi.a obj/so/libre2.$(SOEXT) .PHONY: shared-install shared-install: obj/so/libre2.$(SOEXT) common-install -- Gitee