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