When I added support for the new Suunto EON Steel bluetooth download, I needed crc32(), and instead of cooking my own (libdivecomputer does do its own versions of the simpler crc functions), I made libdivecomputer just depend on zlib instead, which provides a convenient crc32() function. But I didn't add the new linker flag (-lz) in the right place in the automake. It worked fine for me on Linux, but apparently not so well on macos. This fixes it. Reported-and-tested-by: Benjamin <nystire@gmail.com> Tested-by: Axel Richter <Axel.Richter@freenet.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
28 lines
467 B
Makefile
28 lines
467 B
Makefile
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
LDADD = $(top_builddir)/src/libdivecomputer.la
|
|
|
|
bin_PROGRAMS = \
|
|
dctool
|
|
|
|
dctool_SOURCES = \
|
|
common.h \
|
|
common.c \
|
|
dctool.h \
|
|
dctool.c \
|
|
dctool_help.c \
|
|
dctool_version.c \
|
|
dctool_list.c \
|
|
dctool_download.c \
|
|
dctool_dump.c \
|
|
dctool_parse.c \
|
|
dctool_read.c \
|
|
dctool_write.c \
|
|
dctool_fwupdate.c \
|
|
output.h \
|
|
output-private.h \
|
|
output.c \
|
|
output_xml.c \
|
|
output_raw.c \
|
|
utils.h \
|
|
utils.c
|