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 $< | ||||
| 
 | ||||
| ../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.import.scm: frontend.scm | ||||
|  |  | |||
|  | @ -1,6 +1,9 @@ | |||
| (import frontend | ||||
| 	command-line | ||||
| 	texts) | ||||
| 	texts | ||||
| 	spiffy | ||||
| 	openssl | ||||
| 	(chicken tcp)) | ||||
| 
 | ||||
| (define -port- (make-parameter #f)) | ||||
| (define -certificate- (make-parameter #f)) | ||||
|  | @ -39,3 +42,9 @@ | |||
| (when ssl? | ||||
|   (print "  Certificate:" (-certificate-)) | ||||
|   (print "  Key:" (-key-))) | ||||
| 
 | ||||
| (define listener | ||||
|   (if ssl? | ||||
|       (ssl-listen port) | ||||
|       (tcp-listen port))) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue