[build] Fix customized emitter linkage

This commit is contained in:
Ming-Hung Tsai 2021-06-01 13:32:26 +08:00
parent 0004dced93
commit 041ed7858c

View File

@ -18,7 +18,7 @@ contrib/%.a: contrib/%.o
$(V)echo " [AR] $@" $(V)echo " [AR] $@"
$(V)$(AR) rcs $@ $^ $(V)$(AR) rcs $@ $^
contrib/%.so: contrib/%.a contrib/%.so: contrib/%.o
$(V)echo " [LD] $@" $(V)echo " [LD] $@"
$(V)$(CC) -shared -Wl,-soname,$@ -o $@ $< $(V)$(CC) -shared -Wl,-soname,$@ -o $@ $<