ParseUtilsStatic = Library.new({
:name => 'libparse-utils.a',
:output_dir => 'build/static',
- :compiler_options => [ '-c', '-Wall', '-Werror', '-o'],
+ :compiler_options => [ '-c', '-Wall', '-o'],
:source_files => [ 'source/**/*.c*' ],
:include_dirs => [ 'source/**/' ],
})
ParseUtilsShared = Library.new({
:name => 'libparse-utils.so',
:output_dir => 'build/shared',
- :compiler_options => [ '-c', '-Wall', '-Werror', '-o'],
+ :compiler_options => [ '-c', '-Wall', '-fPIC', '-o'],
:linker_bin => 'c++',
:linker_options => ['-shared', '-o'],
:source_files => [ 'source/**/*.c*' ],