forked from brmlab/brmelect-github
fix ...
This commit is contained in:
parent
856c8472d6
commit
6cf6b65c08
1 changed files with 6 additions and 1 deletions
|
|
@ -45,8 +45,13 @@ BRMELECT-OBJS=brmelect.o webgate-core.o webgate-utils.o
|
||||||
.PHONY: imports
|
.PHONY: imports
|
||||||
imports: $(BRMELECT-DEPS)
|
imports: $(BRMELECT-DEPS)
|
||||||
|
|
||||||
|
#BRMELECT-LIB-RAW=$(shell pkg-config --static --libs-only-L libpq)
|
||||||
|
#BRMELECT-LIB-RAW = $(shell pkg-config --static --libs-only-l libpq)
|
||||||
|
BRMELECT-LIB-RAW = -L.. -lpq -lpgcommon -lpgport -lssl -ldl -lcrypto
|
||||||
|
BRMELECT-LIB=$(foreach arg,$(BRMELECT-LIB-RAW),-L $(arg))
|
||||||
|
|
||||||
$(BRMELECT-BIN): $(BRMELECT-OBJS)
|
$(BRMELECT-BIN): $(BRMELECT-OBJS)
|
||||||
$(CSC) -L --no-lto -L -Wl,-static -L -Wl,-lsqlite3 -L -Wl,-Bdynamic -strip -static -o $@ $(BRMELECT-OBJS)
|
$(CSC) -L --no-lto -L -Wl,-static -L -Wl,-L.. $(BRMELECT-LIB) -L -Wl,-Bdynamic -strip -static -o $@ $(BRMELECT-OBJS)
|
||||||
chmod u+s $@
|
chmod u+s $@
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue