mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
rules.mk: Add support for flexible SO_PREFIX
This commit is contained in:
parent
b7491a26ab
commit
ccf27c7a23
1 changed files with 2 additions and 2 deletions
|
|
@ -181,10 +181,10 @@ strip.done: $(EXE_ALL)
|
|||
$(CC) -M $(CPPFLAGS) $(DEPEND_CPPFLAGS) $< -o $@
|
||||
|
||||
ifeq ($(LIBTYPE),shared)
|
||||
lib%.so: %.o # $(LIB_SO)
|
||||
$(SO_PREFIX)%.so: %.o # $(LIB_SO)
|
||||
$(LD) -shared $(LDFLAGS) $^ -o $@
|
||||
else
|
||||
lib%.so: %.o
|
||||
$(SO_PREFIX)%.so: %.o
|
||||
$(LD) $(LDFLAGS) $^ -o $@
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue