Permalink
Browse files

Add fPIC flag.

  • Loading branch information...
connormanning committed Feb 2, 2017
1 parent 318190e commit ea50c96ecfea788a17b5458132a9decb42aec672
Showing with 4 additions and 2 deletions.
  1. +4 −2 binding.gyp
View
@@ -20,7 +20,8 @@
'-pedantic',
'-pthread',
'-fexceptions',
- '-frtti'
+ '-frtti',
+ '-fPIC'
],
"conditions": [
[ 'OS=="mac"', {
@@ -29,7 +30,8 @@
"-std=c++11",
"-stdlib=libc++",
"-frtti",
- "-fexceptions"
+ "-fexceptions",
+ "-fPIC"
],
"OTHER_LDFLAGS": [ "-stdlib=libc++" ],
"MACOSX_DEPLOYMENT_TARGET": "10.7"

0 comments on commit ea50c96

Please sign in to comment.