diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 6618bf89b84c..bb30e3909f6e 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -193,7 +193,7 @@ CRUNCH_ALIAS_xz= unxz lzma unlzma xzcat lzcat CRUNCH_PROGS_usr.bin+= zstd CRUNCH_ALIAS_zstd= unzstd zstdcat zstdmt -CRUNCH_LIBS+= -lprivatezstd +CRUNCH_LIBS+= ${LDADD_zstd} CRUNCH_PROGS_usr.bin+= tar CRUNCH_LIBS+= -larchive diff --git a/tools/bsdbox/Makefile b/tools/bsdbox/Makefile index 50d87f0db8e3..56ece9d3439e 100644 --- a/tools/bsdbox/Makefile +++ b/tools/bsdbox/Makefile @@ -72,7 +72,7 @@ CRUNCH_SRCDIRS+= sbin CRUNCH_LIBS+= -l80211 -lalias -lcam -lcursesw -ldevstat -lipsec # Don't forget this - ifconfig, etc -adrian -CRUNCH_LIBS+= -lprivateifconfig +CRUNCH_LIBS+= ${LDADD_ifconfig} CRUNCH_LIBS+= -lgeom -lbsdxml -ljail -lkiconv -lmd -lsbuf -lufs ##################################################################