--- src/Makefile.am.orig 2017-03-24 04:35:04 UTC +++ src/Makefile.am @@ -28,7 +28,11 @@ cupsfilter_PROGRAMS =\ epson_escpr_wrapper_CFLAGS =\ -Wall\ -DCUPS_FILTER_NAME=\"epson-escpr\" \ - -DCUPS_FILTER_PATH=\"$(CUPS_FILTER_DIR)\" + -DCUPS_FILTER_PATH=\"$(CUPS_FILTER_DIR)\" \ + $(CUPS_CPPFLAGS) + +epson_escpr_wrapper_LDFLAGS =\ + $(CUPS_LDFLAGS) epson_escpr_wrapper_SOURCES =\ wrapper.c