From 3f39807282617b02bf775b692b18fc9ec99f7bb8 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 24 Feb 2017 00:21:40 -0500 Subject: [PATCH] wmfemon: Fix linking order to avoid undefined reference errors. --- 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