aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-13 21:10:15 +0200
committerMattias Andrée <maandree@kth.se>2016-07-13 21:10:15 +0200
commitf7cbc8f9b5fe5debc38b460fd5e03645a9a392c5 (patch)
tree9d22c0387091b4c69e75c5623ce9b706c42daaa1 /mk
parentm (diff)
downloadlibclut-f7cbc8f9b5fe5debc38b460fd5e03645a9a392c5.tar.gz
libclut-f7cbc8f9b5fe5debc38b460fd5e03645a9a392c5.tar.bz2
libclut-f7cbc8f9b5fe5debc38b460fd5e03645a9a392c5.tar.xz
Update makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk')
-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.