From 8a076855fcec7ee3ab4a26a0402852781f116192 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 24 Feb 2011 23:09:22 +0100
Subject: Added 'dl' library to platform flags.


diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 2d9cc15..772b485 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -327,6 +327,10 @@ else :
 if conf.CheckLib("resolv") :
 	env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["resolv"]
 
+if conf.CheckLib("dl") :
+	env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["dl"]
+
+
 if conf.CheckLib("c") :
 	env["PLATFORM_FLAGS"]["LIBS"] = env["PLATFORM_FLAGS"].get("LIBS", []) + ["c"]
 
-- 
cgit v0.10.2-6-g49f6