Skip to content

Commit

Permalink
Merge pull request #83 from ahans/bugfix/build-without-libtool
Browse files Browse the repository at this point in the history
Fix build without libtool
  • Loading branch information
nhorman authored Oct 2, 2023
2 parents 74dd964 + 0b3adf0 commit 853457b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
bin_PROGRAMS = dropwatch dwdump

AM_CFLAGS = -g -Wall -Werror $(LIBNL3_CFLAGS) $(LIBNLG3_CFLAGS) $(READLINE_CFLAGS)
AM_LDFLAGS = $(LIBNL3_LIBS) $(LIBNLG3_LIBS) $(READLINE_LIBS) -lpcap
AM_LDFLAGS =
ALL_LIBS = $(LIBNL3_LIBS) $(LIBNLG3_LIBS) $(READLINE_LIBS) $(LIBPCAP_LIBS)
dropwatch_LDADD = $(ALL_LIBS)
dwdump_LDADD = $(ALL_LIBS)
AM_CPPFLAGS = -D_GNU_SOURCE

dropwatch_SOURCES = main.c lookup.c lookup_kas.c
dwdump_SOURCES = dwdump.c

if USE_BFD
dropwatch_SOURCES += lookup_bfd.c
AM_LDFLAGS += -lbfd
dropwatch_LDADD += -lbfd
endif

0 comments on commit 853457b

Please sign in to comment.