linking error

master
JoYo 2016-01-08 22:00:51 +00:00
parent 83972b17cf
commit 5aafac4365
1 changed files with 6 additions and 1 deletions

View File

@ -1,15 +1,20 @@
import sys import sys
def options(opt): def options(opt):
opt.load('asm compiler_c') opt.load('asm compiler_c')
def configure(conf): def configure(conf):
conf.load('asm compiler_c') conf.load('asm compiler_c')
conf.check_cc(header_name='openssl/sha.h')
def build(bld): def build(bld):
bld.program( bld.program(
source='pic-linux.c', source='pic-linux.c',
target='pic-linux') target='pic-linux',
lib=['ssl', 'crypto'])
# bld(features='nasm', # bld(features='nasm',
# source='scrap.asm', # source='scrap.asm',