4754916
diff -urNp a/config.mk.in b/config.mk.in
4754916
--- a/config.mk.in	2018-11-21 12:46:22.044790058 +0100
4754916
+++ b/config.mk.in	2018-11-22 13:13:10.260123268 +0100
4754916
@@ -128,7 +128,7 @@ INSTALL = $(SRCDIR)/buildtools/install.s
4754916
 
4754916
 # STRIPFLAG is the option you pass to the above install program to make it
4754916
 # strip unnecessary information out of binaries.
4754916
-STRIPFLAG = -s
4754916
+STRIPFLAG =
4754916
 # If you don't want to strip the binaries, just leave it null:
4754916
 #STRIPFLAG = 
4754916
 
4754916
@@ -482,12 +482,12 @@ JBIGLIB = $(INTERNAL_JBIGLIB)
4754916
 JBIGHDR_DIR = $(INTERNAL_JBIGHDR_DIR)
4754916
 
4754916
 # The Jasper JPEG-2000 image compression library (aka JasPer):
4754916
-JASPERLIB = $(INTERNAL_JASPERLIB)
4754916
-JASPERHDR_DIR = $(INTERNAL_JASPERHDR_DIR)
4754916
+JASPERLIB = "" 
4754916
+JASPERHDR_DIR = "/usr/include/jasper"
4754916
 # JASPERDEPLIBS is the libraries (-l options or file names) on which
4754916
 # The Jasper library depends -- i.e. what you have to link into any
4754916
 # executable that links in the Jasper library.
4754916
-JASPERDEPLIBS =
4754916
+JASPERDEPLIBS = -ljasper
4754916
 #JASPERDEPLIBS = -ljpeg
4754916
 
4754916
 # And the Utah Raster Toolkit (aka URT aka RLE) library:
4754916
diff -urNp a/converter/other/jbig/Makefile b/converter/other/jbig/Makefile
4754916
--- a/converter/other/jbig/Makefile	2018-11-21 12:46:22.075789920 +0100
4754916
+++ b/converter/other/jbig/Makefile	2018-11-22 13:13:40.837969056 +0100
4754916
@@ -11,8 +11,9 @@ include $(BUILDDIR)/config.mk
4754916
 
4754916
 # INTERNAL_JBIGLIB must be relative to the current directory, because it
4754916
 # may end up in MERGE_OBJECTS, which must be relative.
4754916
-INTERNAL_JBIGLIB = libjbig/libjbig.a
4754916
-INTERNAL_JBIGHDR_DIR = $(SRCDIR)/$(SUBDIR)/libjbig/include
4754916
+INTERNAL_JBIGLIB = 
4754916
+INTERNAL_JBIGHDR_DIR = /usr/include
4754916
+#INTERNAL_JBIGHDR_DIR = $(SRCDIR)/$(SUBDIR)/libjbig/include
4754916
 
4754916
 EXTERN_INCLUDES =
4754916
 ifneq ($(JBIGHDR_DIR),NONE)
4754916
@@ -35,7 +36,6 @@ SCRIPTS =
4754916
 
4754916
 ifeq ($(JBIGLIB),$(INTERNAL_JBIGLIB))
4754916
   JBIGLIB_DEP = $(JBIGLIB)
4754916
-  SUBDIRS += libjbig
4754916
 else
4754916
   # It's not our internal version; user's on his own to make sure it's built
4754916
 endif
4754916
@@ -49,10 +49,3 @@ include $(SRCDIR)/common.mk
4754916
 
4754916
 $(BINARIES): %: %.o $(JBIGLIB_DEP) $(LIBOPT)
4754916
 $(BINARIES): LDFLAGS_TARGET = $(shell $(LIBOPT) $(JBIGLIB))
4754916
-
4754916
-$(INTERNAL_JBIGLIB): $(BUILDDIR)/$(SUBDIR)/libjbig FORCE
4754916
-	$(MAKE) -f $(SRCDIR)/$(SUBDIR)/libjbig/Makefile \
4754916
-	  -C $(dir $@) $(notdir $@)
4754916
-
4754916
-.PHONY: FORCE
4754916
-FORCE: