Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

compile discount with -fPIC

  • Loading branch information...
commit 45aa28580c79d860cddc01601739f2deb90578e9 1 parent e2a3e1e
@visnup visnup authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wscript
View
2  wscript
@@ -12,7 +12,7 @@ def configure(conf):
def build(bld):
bld.exec_command('cp -r ../discount/* .')
- bld.exec_command('./configure.sh --with-dl=Both --enable-all-features && make')
+ bld.exec_command('./configure.sh --with-dl=Both --enable-all-features && make CFLAGS="-g -fPIC"')
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.linkflags = ["-lmarkdown", "-mimpure-text", "-L."]
Please sign in to comment.
Something went wrong with that request. Please try again.