]> git.droids-corp.org - dpdk.git/blobdiff - examples/ptpclient/Makefile
mk: fix missing librt dependencies
[dpdk.git] / examples / ptpclient / Makefile
index b77cf7100ea540f8d0676fa984df3ad57e207e4f..d241730fbd3b1d76cace49d28ea371249e3c8f86 100644 (file)
@@ -46,6 +46,7 @@ SRCS-y := ptpclient.c
 
 CFLAGS += -O3
 CFLAGS += $(WERROR_FLAGS)
+LDLIBS += -lrt
 
 # workaround for a gcc bug with noreturn attribute
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603