ensure that -ldl follows -lopenflow
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Sun, 23 Sep 2012 21:32:12 -0700
changeset 9090 5ba26b23e61a
parent 9089 59146801f94e
child 9091 e50b47471a86
ensure that -ldl follows -lopenflow
src/openflow/wscript
--- a/src/openflow/wscript	Sat Sep 22 08:59:22 2012 -0700
+++ b/src/openflow/wscript	Sun Sep 23 21:32:12 2012 -0700
@@ -112,6 +112,7 @@
     conf.env['OPENFLOW'] = conf.check_nonfatal(fragment=test_code, lib='openflow', 
                                                libpath=conf.env['LIBPATH_OPENFLOW'],
                                                use='OPENFLOW DL XML2')
+    conf.env.append_value('LIB_OPENFLOW', 'dl')
     conf.report_optional_feature("openflow", "NS-3 OpenFlow Integration",
                                  conf.env['OPENFLOW'], "openflow library not found")
     if conf.env['OPENFLOW']: