mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-25 15:03:55 +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 $@
|
$(CC) -M $(CPPFLAGS) $(DEPEND_CPPFLAGS) $< -o $@
|
||||||
|
|
||||||
ifeq ($(LIBTYPE),shared)
|
ifeq ($(LIBTYPE),shared)
|
||||||
lib%.so: %.o # $(LIB_SO)
|
$(SO_PREFIX)%.so: %.o # $(LIB_SO)
|
||||||
$(LD) -shared $(LDFLAGS) $^ -o $@
|
$(LD) -shared $(LDFLAGS) $^ -o $@
|
||||||
else
|
else
|
||||||
lib%.so: %.o
|
$(SO_PREFIX)%.so: %.o
|
||||||
$(LD) $(LDFLAGS) $^ -o $@
|
$(LD) $(LDFLAGS) $^ -o $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue