2
0
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:
Alibek Omarov 2024-10-24 15:47:06 +03:00
parent 1cf40a2d17
commit ec5578a437

View File

@ -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',