mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
rules.mk: Add -shared to rule for shared lib creation
This commit is contained in:
parent
52530bc52e
commit
5954d49b10
1 changed files with 2 additions and 1 deletions
|
|
@ -35,10 +35,11 @@ uic_%.cpp: %.h %.ui
|
|||
|
||||
ifeq ($(LIBTYPE),shared)
|
||||
lib%.so: %.o $(LIB_SO)
|
||||
$(CC) -shared $(LDFLAGS) $^ -o $@
|
||||
else
|
||||
lib%.so: %.o
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
endif
|
||||
$(CC) $< $(LDFLAGS) -o $@
|
||||
|
||||
version.ldscript:
|
||||
$(MOD_SCRIPT_DIR)/make_version_script.sh $(BINARY_VERSION) > $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue