From d7969f32ee06eb4b717c92d8c43d5a5f2eab4de9 Mon Sep 17 00:00:00 2001 From: Michael Mrowetz Date: Mon, 3 Aug 2015 16:17:50 +0900 Subject: [PATCH] issue #28 fixed with @AerisG222 sollution from #21 --- src/apache2/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apache2/Makefile.am b/src/apache2/Makefile.am index 2e50aa4..cc641fd 100644 --- a/src/apache2/Makefile.am +++ b/src/apache2/Makefile.am @@ -7,7 +7,7 @@ mod_imgmin_la_SOURCES = mod_imgmin.c ../imgmin.c ../dssim.c mod_imgmin_la: $(mod_imgmin_la_SOURCES) if [ "$(APXS)" != "" ]; then \ - $(APXS) -I `pwd`/.. `$(MAGICK_CONFIG) --cppflags --ldflags --libs|xargs` -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c $(mod_imgmin_la_SOURCES); \ + $(APXS) -I `pwd`/.. `$(MAGICK_CONFIG) --cppflags --ldflags --libs|xargs|sed "s/-fopenmp\s//"` -Wc,-DIMGMIN_LIB -Wc,-W -Wc,-Wall -Wc,-Wno-unused-parameter -c $(mod_imgmin_la_SOURCES); \ fi install-exec-local: mod_imgmin_la