mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Fix build error when libcap-dev is installed (#798)
* Fix build error when libcap-dev is installed
* Revert 829ba29
, allowing LDLIBS based fix to work
This commit is contained in:
parent
829ba29a2b
commit
9caa8902b0
|
@ -78,8 +78,6 @@ src/example_sn_embed.o: $(N2N_DEPS)
|
|||
src/example_edge_embed.o: $(N2N_DEPS)
|
||||
|
||||
src/edge: $(N2N_LIB)
|
||||
$(CC) $(CFLAGS) $< $(LDFLAGS) $(N2N_LIB) $(LIBS_EDGE) -o $@
|
||||
|
||||
src/supernode: $(N2N_LIB)
|
||||
src/example_edge_embed_quick_edge_init: $(N2N_LIB)
|
||||
src/example_sn_embed: $(N2N_LIB)
|
||||
|
|
|
@ -77,7 +77,7 @@ fi
|
|||
|
||||
AC_CHECK_LIB([cap], [cap_get_proc], cap=true)
|
||||
if test x$cap != x; then
|
||||
LDFLAGS="${LDFLAGS} -lcap"
|
||||
N2N_LIBS="${N2N_LIBS} -lcap"
|
||||
AC_DEFINE([HAVE_LIBCAP],[1],[Support for linux capabilities])
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user