X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=47f427bae71bebe10edc3daa51abad49e0118070;hb=f9a411f22d413f01aecd553c3d5bc22a3e1e196e;hp=b396b82953e85748d51b5684c5ca70bbe52ee3f8;hpb=c0510b0cc9de66db2050c53197588851ac8808a3;p=surf.git diff --git a/config.mk b/config.mk index b396b82..47f427b 100644 --- a/config.mk +++ b/config.mk @@ -7,8 +7,8 @@ VERSION = 0.4 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) +GTKINC=$(shell pkg-config --static --cflags gtk+-2.0 webkit-1.0) +GTKLIB=$(shell pkg-config --static --libs gtk+-2.0 webkit-1.0) # includes and libs @@ -18,7 +18,7 @@ LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 # flags CPPFLAGS = -DVERSION=\"${VERSION}\" CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"