Skip to content

Commit

Permalink
Merge pull request #52 from saghul/gyp-shared
Browse files Browse the repository at this point in the history
build: fix building shared library using gyp
  • Loading branch information
pmwkaa committed Jun 10, 2014
2 parents 3f16d0e + 71cdb4e commit 493d4ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sophia.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
'direct_dependent_settings': {
'include_dirs': ['db'],
},
'conditions': [
['sophia_library=="shared_library"', {
'cflags': [ '-fPIC' ],
}],
],
'sources': [
'db/cat.c',
'db/crc.c',
Expand Down

0 comments on commit 493d4ba

Please sign in to comment.