diff --git a/src/mod/applications/mod_fax/Makefile b/src/mod/applications/mod_fax/Makefile index 33ba4abd3f..d4609e80bd 100644 --- a/src/mod/applications/mod_fax/Makefile +++ b/src/mod/applications/mod_fax/Makefile @@ -9,7 +9,8 @@ SPANDSP_BUILDDIR=$(switch_builddir)/libs/spandsp SPANDSP_LA=$(SPANDSP_BUILDDIR)/src/libspandsp.la LOCAL_CFLAGS=-I$(SPANDSP_DIR)/src -I$(TIFF_DIR)/libtiff -I$(SPANDSP_BUILDDIR)/src -I$(TIFF_BUILDDIR)/libtiff -LOCAL_LIBADD=$(SPANDSP_LA) +LOCAL_LIBADD=$(SPANDSP_LA) $(TIFF_LA) +LOCAL_LDFLAGS=-ljpeg include $(BASE)/build/modmake.rules $(MODNAME).lo: $(SPANDSP_LA) $(TIFF_LA)