Link libdl only on Linux, fix BSD build

This commit is contained in:
eska 2016-07-04 18:09:06 +02:00
parent 48959f0590
commit a2386bd2b2

View file

@ -182,7 +182,9 @@ def configure(env):
print("PulseAudio development libraries not found, disabling driver")
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'])
#host compiler is default..