Permalink
Browse files

default to oem openssl: [forgot to change Extension args to match]

  • Loading branch information...
1 parent 99379b6 commit 454a125d28b4ece7977727f8afc96e2127480ce6 @samrushing samrushing committed Apr 29, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 setup.py
View
@@ -70,7 +70,7 @@ def check_lio():
# statically link is a bit tricky
# Note: be sure to remove coro/ssl/openssl.c if you change this, see NPN probe below.
#ossl_base = '/Users/rushing/src/openssl-1.0.1c'
-ossl_base = '/usr/'
+ossl_base = '/usr'
def O (path):
return os.path.join (ossl_base, path)
@@ -88,11 +88,11 @@ def O (path):
['coro/ssl/openssl.pyx'],
depends=['coro/ssl/openssl.pxi'],
# manual static link
- extra_link_args = [ O('libcrypto.a'), O('libssl.a') ],
+ #extra_link_args = [ O('libcrypto.a'), O('libssl.a') ],
# link to an absolute location
#extra_link_args = [ '-L %s -lcrypto -lssl' % (ossl_base,) ]
# 'normal' link
- #libraries = ['crypto', 'ssl'],
+ libraries = ['crypto', 'ssl'],
include_dirs = [ O('include') ],
cython_compile_time_env = {'NPN' : USE_NPN},
)

0 comments on commit 454a125

Please sign in to comment.