aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mk/lang-c.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/lang-c.mk b/mk/lang-c.mk
index 25d2a7f..e96c0b3 100644
--- a/mk/lang-c.mk
+++ b/mk/lang-c.mk
@@ -218,7 +218,7 @@ aux/%.pic.o: $(v)src/%.c $(foreach H,$(__H),$(v)$(H))
bin/%.so:
@$(PRINTF_INFO) '\e[00;01;31mLD\e[34m %s\e[00;32m$A\n' "$@"
@$(MKDIR) -p bin
- $(Q)$(__LD) -shared -Wl,-soname,$*.so.$(_SO_MAJOR_$($*)) -o $@ $^ $(__LD_POST) #$Z
+ $(Q)$(__LD) -shared -Wl,-soname,$*.so.$(_SO_MAJOR_$*) -o $@ $^ $(__LD_POST) #$Z
@$(ECHO_EMPTY)
# Link object files into a command.