Merge pull request #5551 from eska014/bsd-no-libdl
Link libdl only on Linux, fix BSD build
This commit is contained in:
commit
176920278f
1 changed files with 3 additions and 1 deletions
|
@ -182,7 +182,9 @@ def configure(env):
|
||||||
print("PulseAudio development libraries not found, disabling driver")
|
print("PulseAudio development libraries not found, disabling driver")
|
||||||
|
|
||||||
env.Append(CPPFLAGS=['-DX11_ENABLED','-DUNIX_ENABLED','-DGLES2_ENABLED','-DGLES_OVER_GL'])
|
env.Append(CPPFLAGS=['-DX11_ENABLED','-DUNIX_ENABLED','-DGLES2_ENABLED','-DGLES_OVER_GL'])
|
||||||
env.Append(LIBS=['GL', 'GLU', 'pthread', 'z', 'dl'])
|
env.Append(LIBS=['GL', 'GLU', 'pthread', 'z'])
|
||||||
|
if (platform.system() == "Linux"):
|
||||||
|
env.Append(LIBS='dl')
|
||||||
#env.Append(CPPFLAGS=['-DMPC_FIXED_POINT'])
|
#env.Append(CPPFLAGS=['-DMPC_FIXED_POINT'])
|
||||||
|
|
||||||
#host compiler is default..
|
#host compiler is default..
|
||||||
|
|
Loading…
Reference in a new issue