libxfcegui4 X11 rpath handling

Benedikt Meurer Benedikt.Meurer at unix-ag.uni-siegen.de
Mon Feb 24 23:59:52 CET 2003


On Mon, 24, Feb 2003, Jens Luedicke wrote:

> > The following patch corrects the problem with missing rpath handling
> > in libxfcegui4.

Same problem with libxfce4mcs.

regrards,
Benedikt

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
    -- Henry Spencer
-------------- next part --------------
--- configure.in.orig	Thu Jan 30 23:41:29 2003
+++ configure.in	Mon Feb 24 23:56:47 2003
@@ -45,6 +45,11 @@
 
 AC_CHECK_LIB(X11, main,, AC_MSG_ERROR([libX11 is missing from your system: Make sure you have both the  X Window System libraries and development headers correctly installed]), $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS)
 
+# ensure correct rpath handling for X11 library directory
+if test "x$x_libraries" != "x"; then
+	X_LIBS="-Wl,-R$x_libraries $X_LIBS"
+fi
+
 SM_LIBS=""
 sm_save_cppflags="$CPPFLAGS"
 CPPFLAGS="$CPPFLAGS $X_CFLAGS"


More information about the Xfce4-dev mailing list