Browse Source

Some distributions put --as-needed in pkg-config and fltk-config results. *See you in /dev/null*

Really. I mean it.
tags/non-daw-v1.1.0
Jonathan Moore Liles 13 years ago
parent
commit
3b317f618c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/config-funcs

+ 2
- 2
scripts/config-funcs View File

@@ -273,7 +273,7 @@ require_package ()
fi

name="`upcase \"$1\"`"
append "${name}_LIBS=`pkg-config --libs $3 | sed 's/--as-needed//g'`"
append "${name}_LIBS=`pkg-config --libs $3 | sed 's/,?--as-needed//g'`"
append "${name}_CFLAGS=-DHAVE_${1} `pkg-config --cflags $3`"

ok `pkg-config --modversion "$3"`
@@ -327,6 +327,6 @@ require_FLTK ()
use="$use --use-$1"
done

append "FLTK_LIBS=`fltk-config $use --ldflags | sed 's/--as-needed//g'`"
append "FLTK_LIBS=`fltk-config $use --ldflags | sed 's/,?--as-needed//g'`"
append "FLTK_CFLAGS=`fltk-config $use --cflags`"
}

Loading…
Cancel
Save