libxfcegui4 X11 rpath handling
Benedikt Meurer
Benedikt.Meurer at unix-ag.uni-siegen.de
Mon Feb 24 22:14:58 CET 2003
Hello,
The following patch corrects the problem with missing rpath handling
in libxfcegui4.
regards,
Benedikt
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer
-------------- next part --------------
--- configure.in.orig Mon Feb 24 22:07:44 2003
+++ configure.in Mon Feb 24 22:11:44 2003
@@ -40,6 +40,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