ref: gl: vgl_shim: remove -fno-PIC to properly link it with shared library
This commit is contained in:
parent
1cf40a2d17
commit
ec5578a437
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ def configure(conf):
|
||||||
conf.define('REF_DLL', 1)
|
conf.define('REF_DLL', 1)
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
bld.env.LDFLAGS += ['-fPIC']
|
bld.env.CFLAGS_cstlib.remove('-fno-PIC')
|
||||||
bld.env.CFLAGS += ['-fPIC']
|
bld.env.CFLAGS += ['-fPIC']
|
||||||
bld.stlib(source = bld.path.ant_glob('*.c'),
|
bld.stlib(source = bld.path.ant_glob('*.c'),
|
||||||
target = 'vgl_shim',
|
target = 'vgl_shim',
|
||||||
|
|
Loading…
Add table
Reference in a new issue