Silvan Calarco
9ca4f035ea
move headers to %{_includedir}/jsoncpp [release 0.6.0_rc2-2mamba;Wed Sep 17 2014]
12 lines
505 B
Diff
12 lines
505 B
Diff
--- jsoncpp-src-0.6.0-rc2/SConstruct.orig 2014-09-17 14:13:14.742927982 +0200
|
|
+++ jsoncpp-src-0.6.0-rc2/SConstruct 2014-09-17 14:11:04.782932297 +0200
|
|
@@ -119,7 +119,7 @@
|
|
env.Append( CPPDEFINES=[ "WIN32", "NDEBUG", "_MT" ] )
|
|
elif platform.startswith('linux-gcc'):
|
|
env.Tool( 'default' )
|
|
- env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" )
|
|
+ env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall -fPIC" )
|
|
env['SHARED_LIB_ENABLED'] = True
|
|
else:
|
|
print "UNSUPPORTED PLATFORM."
|