mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-16 04:23:31 +01:00
rules.mk: Link plugins with CPP instead of CC
This commit is contained in:
parent
ae727b1735
commit
c810ad1a09
1 changed files with 2 additions and 2 deletions
|
|
@ -105,7 +105,7 @@ ifeq ($(USE_PROJECT_LIB),true)
|
|||
else
|
||||
$(EXE) $(EXE_BIN): $(OBJ)
|
||||
endif
|
||||
$(CC) $(sort $(OBJ)) $(LDFLAGS) -o $@
|
||||
$(CPP) $(sort $(OBJ)) $(LDFLAGS) -o $@
|
||||
|
||||
$(BUILD_BINDIR)/%: %
|
||||
mkdir -p $(BUILD_BINDIR)
|
||||
|
|
@ -120,7 +120,7 @@ ifeq ($(USE_PROJECT_LIB),true)
|
|||
else
|
||||
$(PLUGIN) $(PLUGIN_LIB): $(OBJ)
|
||||
endif
|
||||
$(CC) -shared $(sort $(OBJ)) $(LDFLAGS) -o $@
|
||||
$(CPP) -shared $(sort $(OBJ)) $(LDFLAGS) -o $@
|
||||
mkdir -p $(LIBDIR)
|
||||
install -m 755 $@ $(LIBDIR)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue