Commit 3b4a9159 authored by Mike Gabriel's avatar Mike Gabriel

Build nxcompshad against nx-X11 (002_nxcompshad_build-against-nx-x11-only.full.patch).

Make sure nxcompshad get built against nx-X11. . Furthermore /usr/X11R6/lib is an outdated path on current Debian systems.
parent 7a1bd6b2
Description: Build nxcompshad against nx-X11.
Make sure nxcompshad get built against nx-X11.
.
Furthermore /usr/X11R6/lib is an outdated path on
current Debian systems.
Forwarded: pending...
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31
--- a/nxcompshad/Makefile.in
+++ b/nxcompshad/Makefile.in
@@ -48,7 +48,7 @@
CCDEFINES =
LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@ -L/usr/X11R6/lib -lX11
+LIBS = @LIBS@ -lX11
#
# Only if THREADS is defined.
@@ -162,7 +162,7 @@
-Wl,--enable-auto-import \
-Wl,--whole-archive ${LIBARCHIVE} \
-Wl,--no-whole-archive \
- ${LIBS} -L/usr/X11R6/lib
+ ${LIBS}
$(PROGRAM): $(MOBJ) $(COBJ) $(CXXOBJ) $(LIBDLL)
# $(CC) $(CCFLAGS) -o $@ $(MOBJ) $(MLIBS)
--- a/nxcompshad/configure.in
+++ b/nxcompshad/configure.in
@@ -19,7 +19,7 @@
if test -d "../nx-X11/exports/include" ; then
CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
- LIBS="$LIBS -L../nx-X11/exports/lib"
+ LIBS="-L../nx-X11/exports/lib"
fi
dnl Check whether --with-ipaq was given.
002_nxcompshad_build-against-nx-x11-only.full.patch
003_nxcompshad_gcc43.full.patch
004_nx-X11_fix-nxcompshad-build.full.patch
005_nxcomp_gcc43.full+lite.patch
......
......@@ -48,7 +48,7 @@ CCINCLUDES =
CCDEFINES =
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@ -L/usr/X11R6/lib -lX11
LIBS = @LIBS@ -lX11
#
# Only if THREADS is defined.
......@@ -162,7 +162,7 @@ $(LIBDLL): $(LIBARCHIVE)
-Wl,--enable-auto-import \
-Wl,--whole-archive ${LIBARCHIVE} \
-Wl,--no-whole-archive \
${LIBS} -L/usr/X11R6/lib
${LIBS}
$(PROGRAM): $(MOBJ) $(COBJ) $(CXXOBJ) $(LIBDLL)
# $(CC) $(CCFLAGS) -o $@ $(MOBJ) $(MLIBS)
......
......@@ -19,7 +19,7 @@ dnl Prefer headers and libraries from nx-X11, if present.
if test -d "../nx-X11/exports/include" ; then
CXXFLAGS="$CXXFLAGS -I../nx-X11/exports/include"
LIBS="$LIBS -L../nx-X11/exports/lib"
LIBS="-L../nx-X11/exports/lib"
fi
dnl Check whether --with-ipaq was given.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment