2a70195a32
fltk-config --ldflags. libm is needed when linking against libfltk. This fixes OpenOffice build with fltk installed. PR: 82551 Submitted by: Mike Durian <durian@shadetreesoftware.com>
20 lines
441 B
Text
20 lines
441 B
Text
--- fltk-config.in.orig Mon Sep 6 15:20:52 2004
|
|
+++ fltk-config.in Sat Jun 25 11:45:04 2005
|
|
@@ -180,7 +180,7 @@
|
|
fi
|
|
|
|
# Calculate needed libraries
|
|
-LDSTATIC="$libdir/libfltk.a $LDLIBS"
|
|
+LDSTATIC="-lm $libdir/libfltk.a $LDLIBS"
|
|
LDLIBS="-lfltk$SHAREDSUFFIX $LDLIBS"
|
|
LIBS="$libdir/libfltk.a"
|
|
|
|
@@ -247,7 +247,7 @@
|
|
fi
|
|
|
|
if test "$echo_ldflags" = "yes"; then
|
|
- my_libs=
|
|
+ my_libs="-lm"
|
|
libdirs=$libs
|
|
|
|
for i in $LDLIBS ; do
|