[PATCH 1/9] wmfemon: Fix linking order to avoid undefined reference errors.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmfemon/makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/wmfemon/makefile b/wmfemon/makefile
index 0a26dff..76d27f0 100644
--- a/wmfemon/makefile
+++ b/wmfemon/makefile
@@ -2,7 +2,8 @@ CC	= gcc
 #OPT	= -pg -g -DPRO
 OPT	= -O3 -fomit-frame-pointer
 CFLAGS	= $(OPT) -Wall -I/usr/X11R6/include
-LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext
+LDFLAGS = $(OPT) -L/usr/X11R6/lib
+LDLIBS	= -lX11 -lXpm -lXext
 
 SRCS	= wmfemon.c
 OBJS	= wmfemon.o
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.