Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
dd8878b0
Commit
dd8878b0
authored
Apr 23, 2012
by
Moritz Lipp
Browse files
Link to gthread
parent
d882bf9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
config.mk
View file @
dd8878b0
...
...
@@ -42,6 +42,9 @@ RSTTOMAN ?= /usr/bin/rst2man
GTK_INC
?=
$(
shell
pkg-config
--cflags
gtk+-
${ZATHURA_GTK_VERSION}
.0
)
GTK_LIB
?=
$(
shell
pkg-config
--libs
gtk+-
${ZATHURA_GTK_VERSION}
.0 gthread-2.0
)
GTHREAD_INC
?=
$(
shell
pkg-config
--cflags
gthread-2.0
)
GTHREAD_LIB
?=
$(
shell
pkg-config
--libs
gthread-2.0
)
GIRARA_INC
?=
$(
shell
pkg-config
--cflags
girara-gtk
${ZATHURA_GTK_VERSION}
)
GIRARA_LIB
?=
$(
shell
pkg-config
--libs
girara-gtk
${ZATHURA_GTK_VERSION}
)
...
...
@@ -53,8 +56,8 @@ endif
#set it to an empty value if you don't need to link against ld for dlopen and friends
DL_LIB
?=
-ldl
INCS
=
${GIRARA_INC}
${GTK_INC}
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${DL_LIB}
-lpthread
-lm
INCS
=
${GIRARA_INC}
${GTK_INC}
${GTHREAD_INC}
LIBS
=
${GIRARA_LIB}
${GTK_LIB}
${GTHREAD_LIB}
${DL_LIB}
-lpthread
-lm
# flags
CFLAGS
+=
-std
=
c99
-pedantic
-Wall
-Wno-format-zero-length
-Wextra
$(INCS)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment