shithub: mc

Download patch

ref: a61d5e89b1bb2e315256f408c6524ce16a8e8aa7
parent: de0f5a18ec216eea6efb58c84ebcb9cfbb5f782c
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Apr 23 20:21:03 EDT 2015

Remove duplicated libraries.

    Addlibs already adds them.

--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -231,10 +231,6 @@
 
 	/* -L path -l lib... */
 	cmd = addlibs(cmd, dg.libs, incs)
-	for (d, l, t) in extralibs
-		cmd = std.slpush(cmd, std.fmt("-l%s", l))
-	;;
-
 
 	/* special for OSX: it warns if we don't add this */
 	if std.sleq(opt_sys, "osx")