Skip to content

Commit

Permalink
Fix library order errors
Browse files Browse the repository at this point in the history
  • Loading branch information
phaag committed Mar 9, 2024
1 parent 2043de7 commit 84b425b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/libnffile/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
BUILT_SOURCES = vcs_track.h

AM_CPPFLAGS = -I.. -I../include -I../inline -Iconf -Icompress $(DEPS_CFLAGS)
AM_CFLAGS = -ggdb

Expand Down
2 changes: 1 addition & 1 deletion src/nfreplay/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ LDADD = $(DEPS_LIBS)
replay = send_v5.c send_v5.h send_v9.c send_v9.h send_net.h send_net.c

nfreplay_SOURCES = nfreplay.c $(replay)
nfreplay_LDADD = -lnfdump -lnffile
nfreplay_LDADD = -lnfdump ../maxmind/libmamind.a -lnffile
nfreplay_LDFLAGS = -L../libnfdump -L../libnffile
CLEANFILES = *.gch
4 changes: 2 additions & 2 deletions src/nfsen/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ nfstatfile = ../collector/nfstatfile.c ../collector/nfstatfile.h
exporter = ../nfdump/exporter.c

nfprofile_SOURCES = nfprofile.c profile.c profile.h $(nfstatfile) $(exporter)
nfprofile_LDADD = ../maxmind/libmaxmind.a -lnfdump -lnffile -lrrd
nfprofile_LDADD = -lnfdump ../maxmind/libmaxmind.a -lnffile -lrrd
nfprofile_LDFLAGS = -L../libnfdump -L../libnffile

nftrack_SOURCES = nftrack.c nftrack_rrd.c nftrack_rrd.h \
nftrack_stat.c nftrack_stat.h
nftrack_LDADD = -lnfdump -lnffile -lrrd
nftrack_LDADD = -lnfdump ../maxmind/libmaxmind.a -lnffile -lrrd
nftrack_LDFLAGS = -L../libnfdump -L../libnffile

0 comments on commit 84b425b

Please sign in to comment.