[Lunar-commits] <moonbase-other> gnuplot: fix library problem

v4hn me at v4hn.de
Sat Jul 14 01:42:56 CEST 2012


commit 0de03b11d2c14fdfdb4fec209f4ab12ced8fc773
Author: v4hn <me at v4hn.de>
Date: Fri, 13 Jul 2012 16:42:56 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/0de03b11d2c14fdfdb4fec209f4ab12ced8fc773

gnuplot: fix library problem
---
  science/gnuplot/BUILD                                        +5/-1     
  1 files changed, 5 insertions (+), 1 deletions (-)

--- a/science/gnuplot/BUILD
+++ b/science/gnuplot/BUILD
@@ -1,7 +1,11 @@
 (
 
   if in_depends $MODULE readline ; then
-    LDFLAGS="-lncurses" 
+    export LIBS+=" -lncurses"
+  fi &&
+
+  if in_depends $MODULE lua; then
+    export LIBS+=" -ldl"
   fi &&
 
   default_build




More information about the Lunar-commits mailing list