Move the RSA key to the beginning of file in python bindings
[deb_shairplay.git] / src / SConscript
index 181b4d82ad8f60ded90de05cf903922915422e53..536cc06e6e882ef3de9732432b8098bc06ed3f45 100644 (file)
@@ -6,6 +6,10 @@ env.Append(CPPPATH = ['include'])
 
 # Set up the environment for compiling the libraries
 libenv = env.Clone()
+conf = Configure(libenv)
+conf.CheckLib('pthread')
+conf.CheckLib('dns_sd')
+libenv = conf.Finish()
 libenv.Append(CPPPATH = ['lib'])
 
 # Make sure libraries are compiled with DLL_EXPORT on windows
@@ -50,6 +54,7 @@ if GetOption('universal'):
 appenv = env.Clone()
 conf = Configure(appenv)
 conf.CheckLib('pthread')
+conf.CheckLib('dns_sd')
 appenv = conf.Finish()
 appenv.Append(LIBPATH = ['.'])
 appenv.Prepend(LIBS = ['shairplay'])