[hackers] [wmii] Statically link wmiir.

From: Kris Maglione <jg_AT_suckless.org>
Date: Mon Mar 26 07:27:17 2007

changeset: 2034:2b1b504576d7
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Mar 26 01:26:10 2007 -0400
summary: Statically link wmiir.

diff -r de2320e9f616 -r 2b1b504576d7 cmd/Makefile
--- a/cmd/Makefile Mon Mar 26 00:48:00 2007 -0400
+++ b/cmd/Makefile Mon Mar 26 01:26:10 2007 -0400
@@ -19,7 +19,7 @@ include ${ROOT}/mk/dir.mk
 
 OWMIIR=${OFILES} ${LIBIXP}
 wmiir.O: ${OWMIIR}
- ${LINK} $@ $*.o ${OWMIIR}
+ ${LINK} $@ ${STATIC} $*.o ${OWMIIR}
 
 EXCFLAGS=${INCX11}
 wmii9menu.O:
diff -r de2320e9f616 -r 2b1b504576d7 config.mk
--- a/config.mk Mon Mar 26 00:48:00 2007 -0400
+++ b/config.mk Mon Mar 26 01:26:10 2007 -0400
@@ -15,6 +15,7 @@ LIBS = -L/usr/lib -lc
 # Flags
 CFLAGS = -g -Wall ${INCS} -DVERSION=\"${VERSION}\"
 LDFLAGS = -g ${LIBS}
+STATIC = -static
 
 # Compiler
 CC = cc -c
diff -r de2320e9f616 -r 2b1b504576d7 mk/hdr.mk
--- a/mk/hdr.mk Mon Mar 26 00:48:00 2007 -0400
+++ b/mk/hdr.mk Mon Mar 26 01:26:10 2007 -0400
@@ -54,6 +54,7 @@ clean:
 clean:
 install: printinstall mkdirs
 
+FILTER = cat
 COMPILE= CC="${CC}" CFLAGS="${CFLAGS} ${EXCFLAGS}" ${ROOT}/util/compile
 LINK= LD="${LD}" LDFLAGS="${LDFLAGS} ${EXLDFLAGS}" ${ROOT}/util/link
 
Received on Mon Mar 26 2007 - 07:27:17 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:24 UTC