diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-01-21 16:05:33 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2025-01-21 16:05:33 +0100 |
| commit | bcb679804b2040e3fee1e4f1ff05163674aa7f08 (patch) | |
| tree | 86197affdd5f10bb8bf677d394d84f8f109645f1 /fltk-config.in | |
| parent | 7864ea636dbc271a2d66da71542639226e341d5c (diff) | |
fltk-config: reorder include dirs of bundled image libs
1. prepend include dirs of bundled image libs and append Cairo include
dirs and flags
2. remove forgotten debug statement from previous commit
Diffstat (limited to 'fltk-config.in')
| -rw-r--r-- | fltk-config.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fltk-config.in b/fltk-config.in index d3ddcad3a..ee16204b5 100644 --- a/fltk-config.in +++ b/fltk-config.in @@ -71,7 +71,6 @@ CAIROLIBS="@CAIROLIBS@" GLLIBS="@GLLIBS@" # Check bundled image libraries in source tree -echo "--- includedir='$includedir' ---" if test -f "$libdir/libfltk_jpeg.a" -a -d $includedir/jpeg; then CFLAGS="-I$includedir/jpeg $CFLAGS" CXXFLAGS="-I$includedir/jpeg $CXXFLAGS" @@ -94,10 +93,10 @@ if test -d "$includedir/FL/images"; then CXXFLAGS="-I$includedir/FL/images $CXXFLAGS" fi -# Cairo support +# Cairo support: *append* CAIROFLAGS if test -n "$CAIROFLAGS"; then - CFLAGS="$CAIROFLAGS $CFLAGS" - CXXFLAGS="$CAIROFLAGS $CXXFLAGS" + CFLAGS="$CFLAGS $CAIROFLAGS" + CXXFLAGS="$CXXFLAGS $CAIROFLAGS" fi usage () |
