Link against openssl.
This commit is contained in:
parent
6748d4327c
commit
4cd4fa3bb1
3 changed files with 12 additions and 2 deletions
|
@ -17,7 +17,7 @@ BRMINV_OBJS=brminv.o frontend.o command-line.o util-proc.o duck.o \
|
||||||
$(CSC) -regenerate-import-libraries -P -J $<
|
$(CSC) -regenerate-import-libraries -P -J $<
|
||||||
|
|
||||||
../brminv: $(BRMINV_OBJS)
|
../brminv: $(BRMINV_OBJS)
|
||||||
$(CSC) -L --no-lto -L -Wl,-static -L -Wl,-lsqlite3 -L -Wl,-Bdynamic -strip -static -o $@ $(BRMINV_OBJS)
|
$(CSC) -L --no-lto -L -Wl,-static -L -Wl,-lssl -L -Wl,-lcrypto -L -Wl,-Bdynamic -strip -static -o $@ $(BRMINV_OBJS)
|
||||||
|
|
||||||
frontend.o: frontend.import.scm
|
frontend.o: frontend.import.scm
|
||||||
frontend.import.scm: frontend.scm
|
frontend.import.scm: frontend.scm
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
(import frontend
|
(import frontend
|
||||||
command-line
|
command-line
|
||||||
texts)
|
texts
|
||||||
|
spiffy
|
||||||
|
openssl
|
||||||
|
(chicken tcp))
|
||||||
|
|
||||||
(define -port- (make-parameter #f))
|
(define -port- (make-parameter #f))
|
||||||
(define -certificate- (make-parameter #f))
|
(define -certificate- (make-parameter #f))
|
||||||
|
@ -39,3 +42,9 @@
|
||||||
(when ssl?
|
(when ssl?
|
||||||
(print " Certificate:" (-certificate-))
|
(print " Certificate:" (-certificate-))
|
||||||
(print " Key:" (-key-)))
|
(print " Key:" (-key-)))
|
||||||
|
|
||||||
|
(define listener
|
||||||
|
(if ssl?
|
||||||
|
(ssl-listen port)
|
||||||
|
(tcp-listen port)))
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,7 @@ trap chicken_cleanup INT QUIT
|
||||||
|
|
||||||
# Install required eggs
|
# Install required eggs
|
||||||
chicken_install spiffy
|
chicken_install spiffy
|
||||||
|
chicken_install openssl
|
||||||
|
|
||||||
# Normal termination cleanup
|
# Normal termination cleanup
|
||||||
chicken_cleanup
|
chicken_cleanup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue