This patch file may include trailing empty lines and/or trailing lines that consist solely of whitespace. If you edit this file, use software that preserves lines of this type, or you may break the patch. --- netpbm-10.70.06-repacked.old/GNUmakefile +++ netpbm-10.70.06-repacked/GNUmakefile @@ -361,7 +361,9 @@ netpbm:%:%.o $(OBJECT_DEP) $(NETPBMLIB) $(URTLIBDEP) $(LIBOPT) # Note that LDFLAGS might contain -L options, so order is important. - $(LD) -o $@ $< $(OBJECT_LIST) \ + $(LD) \ +-Wl,--rpath,__META_PREFIX__/lib \ +-o $@ $< $(OBJECT_LIST) \ $(LDFLAGS) $(shell $(LIBOPT) $(NETPBMLIB) $(MERGELIBS)) \ $(PNGLD) $(XML2LD) $(X11LD) $(MATHLIB) $(NETWORKLD) $(LADD)