FLTK logo

[master] 1a45b8a - Wayland platform: Fix configure so fltk-config works 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] 1a45b8a - Wayland platform: Fix configure so fltk-config works from any directory "ManoloFLTK" Dec 02, 2021  
 
commit 1a45b8a9b33745869033cf8e31bb84d3cc267066
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Mon May 31 16:05:31 2021 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Sep 29 12:14:55 2021 +0200

    Wayland platform: Fix configure so fltk-config works from any directory

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git configure.ac configure.ac
index a5a658b..0d42023 100644
--- configure.ac
+++ configure.ac
@@ -1010,7 +1010,7 @@ 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"
+      LIBS="$LIBS -L../lib -ldecor-0.1 $($PKGCONFIG --libs dbus-1) -ldl -Wl,-rpath,`readlink -f ./lib` -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"
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'.