Merge pull request #5551 from eska014/bsd-no-libdl

Link libdl only on Linux, fix BSD build
This commit is contained in:
Rémi Verschelde 2016-07-04 23:39:11 +02:00 committed by GitHub
commit 176920278f

View file

@ -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..