--- bootloader/wscript.orig	2013-09-15 20:27:11 UTC
+++ bootloader/wscript
@@ -229,7 +229,6 @@ def configure(conf):
         conf.check_cc(lib='ws2_32', mandatory=True)
 
     else:
-        conf.check_cc(lib='dl', mandatory=True)
         conf.check_cc(lib='z', mandatory=True)
         if conf.check_cc(function_name='readlink', header_name='unistd.h'):
             conf.env.append_value('CCFLAGS', '-DHAVE_READLINK')
@@ -468,7 +467,7 @@ def build(bld):
 
     else: # linux, darwin (MacOSX)
 
-        libs = ['dl', 'z', 'm']  # 'z' - zlib, 'm' - math,
+        libs = ['z', 'm']  # 'z' - zlib, 'm' - math,
         if opt.boehmgc:
             libs.append('gc')
 
