We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a125f90 commit 60e0371Copy full SHA for 60e0371
1 file changed
ref/common/wscript
@@ -1,15 +1,18 @@
1
#! /usr/bin/env python
2
# encoding: utf-8
3
4
-top = '.'
5
-
6
def options(opt):
7
pass
8
9
def configure(conf):
10
11
12
def build(bld):
+ # FIXME: figure out why psvita needs it and how can we avoid it
+ if bld.env.DEST_OS == 'psvita':
13
+ bld.env.CFLAGS_cstlib.remove('-fno-PIC')
14
+ bld.env.CFLAGS += ['-fPIC']
15
+
16
bld.stlib(source = bld.path.ant_glob('*.c'),
17
target = 'ref_common',
18
includes = '.',
0 commit comments