summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorjudeng <abc3844@126.com>2022-04-05 22:08:27 +0800
committerGitHub <noreply@github.com>2022-04-05 17:08:27 +0300
commit8a7049d36305d297a31ab14d7acab372a579f2ee (patch)
treec3bb71698dbbf8b740ed56a5551e1a9919433f07 /tests/modules
parente342bedc837e146c912546e92ded000a33a7d2ba (diff)
downloadredis-8a7049d36305d297a31ab14d7acab372a579f2ee.tar.gz
use $^ instead of $< for linker in module makefile (#10530)
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/Makefile b/tests/modules/Makefile
index 1b7159c89..a43e1e9a5 100644
--- a/tests/modules/Makefile
+++ b/tests/modules/Makefile
@@ -69,7 +69,7 @@ all: $(TEST_MODULES)
$(CC) -I../../src $(CFLAGS) $(SHOBJ_CFLAGS) -fPIC -c $< -o $@
%.so: %.xo
- $(LD) -o $@ $< $(SHOBJ_LDFLAGS) $(LDFLAGS) $(LIBS)
+ $(LD) -o $@ $^ $(SHOBJ_LDFLAGS) $(LDFLAGS) $(LIBS)
.PHONY: clean