Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
add -fPIC compiler option to appease Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Jan 11, 2012
1 parent 0076b24 commit 51c001c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wscript
Expand Up @@ -5,7 +5,7 @@ import os;

hidapi_home='../hidapi'

cflags=["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall" ]
cflags=["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall", "-fPIC" ]
includes=[ hidapi_home + "/hidapi", '/usr/include/libusb-1.0/' ]

def set_options(opt):
Expand Down

0 comments on commit 51c001c

Please sign in to comment.