diff --git a/src/Makefile.am b/src/Makefile.am index 1be24ea23..8375683d0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,6 +30,10 @@ else openocd_LDADD += -ljim endif +if ULINK +openocd_LDADD += -lm +endif + libopenocd_la_SOURCES = \ hello.c \ openocd.c \