mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
ref: gl: vgl_shim: remove -fno-PIC to properly link it with shared library
This commit is contained in:
parent
1cf40a2d17
commit
ec5578a437
@ -10,7 +10,7 @@ def configure(conf):
|
||||
conf.define('REF_DLL', 1)
|
||||
|
||||
def build(bld):
|
||||
bld.env.LDFLAGS += ['-fPIC']
|
||||
bld.env.CFLAGS_cstlib.remove('-fno-PIC')
|
||||
bld.env.CFLAGS += ['-fPIC']
|
||||
bld.stlib(source = bld.path.ant_glob('*.c'),
|
||||
target = 'vgl_shim',
|
||||
|
Loading…
Reference in New Issue
Block a user