Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
f330459e
Commit
f330459e
authored
Apr 07, 2017
by
Jan-Erik Rediger
Committed by
GitHub
Apr 07, 2017
Browse files
Merge pull request #473 from trustfarm-dev/master
Build error when make examples , patch with glib-2.0 positon move will solve.
parents
29cb95f4
06eedd8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
f330459e
...
@@ -94,7 +94,7 @@ hiredis-example-libev: examples/example-libev.c adapters/libev.h $(STLIBNAME)
...
@@ -94,7 +94,7 @@ hiredis-example-libev: examples/example-libev.c adapters/libev.h $(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
-I
.
$<
-lev
$(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
-I
.
$<
-lev
$(STLIBNAME)
hiredis-example-glib
:
examples/example-glib.c adapters/glib.h $(STLIBNAME)
hiredis-example-glib
:
examples/example-glib.c adapters/glib.h $(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
$(
shell
pkg-config
--cflags
--libs
glib-2.0
)
-I
.
$<
$(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
-I
.
$<
$(
shell
pkg-config
--cflags
--libs
glib-2.0
)
$(STLIBNAME)
hiredis-example-ivykis
:
examples/example-ivykis.c adapters/ivykis.h $(STLIBNAME)
hiredis-example-ivykis
:
examples/example-ivykis.c adapters/ivykis.h $(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
-I
.
$<
-livykis
$(STLIBNAME)
$(CC)
-o
examples/
$@
$(REAL_CFLAGS)
$(REAL_LDFLAGS)
-I
.
$<
-livykis
$(STLIBNAME)
...
...
Write
Preview
Markdown
is supported
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