libssl-dev flags
parent
02a75dcd79
commit
5f4aad7b19
41
wscript
41
wscript
|
@ -1,17 +1,24 @@
|
||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
# encoding: utf-8
|
# encoding: utf-8
|
||||||
CC='clang'
|
CC = 'clang'
|
||||||
|
|
||||||
def options(opt):
|
|
||||||
opt.load('nasm')
|
def options(opt):
|
||||||
opt.load('compiler_c')
|
opt.load('nasm')
|
||||||
|
opt.load('compiler_c')
|
||||||
def configure(conf):
|
|
||||||
conf.load('nasm')
|
|
||||||
conf.load('compiler_c')
|
def configure(conf):
|
||||||
|
conf.load('nasm')
|
||||||
def build(bld):
|
conf.load('compiler_c')
|
||||||
bld.program(source='sins.c', target='sins',
|
conf.check_cc(header_name='openssl/sha.h')
|
||||||
cflags=['-g', '-std=gnu11'],
|
|
||||||
linkflags=['-lcrypto', '-lssl'])
|
|
||||||
bld(features='asm', source='scrap.asm', target='scrap')
|
def build(bld):
|
||||||
|
bld.program(
|
||||||
|
source='sins.c',
|
||||||
|
target='sins',
|
||||||
|
cflags=['-std=gnu11'],
|
||||||
|
lib=['ssl', 'crypto']
|
||||||
|
)
|
||||||
|
bld(features='asm', source='scrap.asm', target='scrap')
|
||||||
|
|
Loading…
Reference in New Issue