From 01bded3d8cd88a2d7f472b45f706565f1a9ef3b1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 May 2019 10:36:19 -0300 Subject: File 'lib2-v2.so' generated from its own source Instead of being a copy of 'lib2.so', 'lib2-v2.so' has its own source file ('lib22.c'), so that the test can distinguish both libraries. --- testes/libs/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testes/libs/makefile') diff --git a/testes/libs/makefile b/testes/libs/makefile index acff4848..698f8984 100644 --- a/testes/libs/makefile +++ b/testes/libs/makefile @@ -23,5 +23,5 @@ lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h $(CC) $(CFLAGS) -o lib21.so lib21.c -lib2-v2.so: lib2.so - cp lib2.so ./lib2-v2.so +lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h + $(CC) $(CFLAGS) -o lib2-v2.so lib22.c -- cgit v1.2.3-55-g6feb