[PATCH 4/8] wmcalendar: Properly link against libraries.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmcalendar/Src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmcalendar/Src/Makefile b/wmcalendar/Src/Makefile
index b05ca8e..c096415 100755
--- a/wmcalendar/Src/Makefile
+++ b/wmcalendar/Src/Makefile
@@ -13,7 +13,7 @@ LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib
 PACKAGE = wmCalendar
 
 # for Linux
-LIBS   = $(LIBDIR) -lXpm -lical -lpthread
+LIBS   = $(LIBDIR) -lXpm -lX11 -lXext -lical -lpthread  -lm
 # for Solaris (untested!!!)
 # LIBS   = -lXpm -lX11 -lXext -lsocket -lnsl -lical
 
@@ -30,7 +30,7 @@ OBJECTS   = 	wmCalendar.o \
 all:	wmCalendar.o wmCalendar
 
 wmCalendar: $(OBJECTS)
-	 $(CC) $(COPTS)  $(SYSTEM) $(LFLAGS) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS)
+	 $(CC) $(COPTS)  $(SYSTEM) -o $@ $(OBJECTS) -o wmCalendar $(INCDIR)$(LIBDIR) $(LIBS) $(LFLAGS)
 
 wmCalendar.o: wmCalendar_master.xpm   wmCalendar_master2.xpm
 clean:
-- 
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.