FLTK logo

[master] f7704f4 - Wayland platform: make fltk-config usable from any directory

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] f7704f4 - Wayland platform: make fltk-config usable from any directory "ManoloFLTK" Dec 02, 2021  
 
commit f7704f4e028e9713a2f087042585b728ca3f8263
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Jun 1 10:20:45 2021 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Sep 29 12:14:55 2021 +0200

    Wayland platform: make fltk-config usable from any directory

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git configure.ac configure.ac
index 0d42023..13a01be 100644
--- configure.ac
+++ configure.ac
@@ -1010,11 +1010,11 @@ AS_CASE([$host_os_gui], [cygwin* | mingw*], [
 
       BUILD="WAYLAND"
       graphics="Wayland"
-      LIBS="$LIBS -L../lib -ldecor-0.1 $($PKGCONFIG --libs dbus-1) -ldl -Wl,-rpath,`readlink -f ./lib` -no-pie"
+      pathtolib=`readlink -f ./lib`
+      LIBS="$LIBS -L$pathtolib -ldecor-0.1 $($PKGCONFIG --libs dbus-1) -ldl -Wl,-rpath,$pathtolib -no-pie"
       LIBS="$($PKGCONFIG --libs wayland-cursor) $($PKGCONFIG --libs wayland-client) $($PKGCONFIG --libs xkbcommon) $LIBS"
       CFLAGS="$CFLAGS -D__WAYLAND__"
       CXXFLAGS="$CXXFLAGS -D__WAYLAND__ -I../libdecor/src"
-      LDFLAGS="$LIBS $LDFLAGS"
       DSOFLAGS="$LIBS $DSOFLAGS"
       enable_pango=yes
       LIBDECORDIR="libdecor/build"
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.