- Avoid 'make' warning when libnids.a was not compiled with GLIB2 enabled.

This commit is contained in:
Alejandro Pulver 2007-02-26 19:47:49 +00:00
parent 89c6e61423
commit 4dedf5723d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186010

View file

@ -34,7 +34,7 @@ LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
# the corresponding library and additional linker flags.
LIBNIDS_GLIB2?=
.if exists(${LOCALBASE}/lib/libnids.a)
LIBNIDS_GLIB2!= nm -u ${LOCALBASE}/lib/libnids.a | ${GREP} g_thread_init
LIBNIDS_GLIB2!= nm -u ${LOCALBASE}/lib/libnids.a | ${GREP} g_thread_init || ${TRUE}
.endif
.if !empty(LIBNIDS_GLIB2)