about summary refs log tree commit diff
path: root/converter/other/jpeg2000/Makefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-07 01:58:20 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-07 01:58:20 +0000
commit86e28372bb9b28a8d62c33c874f395bbbcd395cf (patch)
treeb967a5b9a22e809057df09e79196bcad838613e8 /converter/other/jpeg2000/Makefile
parentea8192a607f9aab49616c92fce88e0461f9e8fc1 (diff)
downloadnetpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.tar.gz
netpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.tar.xz
netpbm-mirror-86e28372bb9b28a8d62c33c874f395bbbcd395cf.zip
Release 10.35.57
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@788 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/jpeg2000/Makefile')
-rw-r--r--converter/other/jpeg2000/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/converter/other/jpeg2000/Makefile b/converter/other/jpeg2000/Makefile
index 528c5ab8..bf3f5e4a 100644
--- a/converter/other/jpeg2000/Makefile
+++ b/converter/other/jpeg2000/Makefile
@@ -60,8 +60,9 @@ include $(SRCDIR)/Makefile.common
 LIBOPTS = $(shell $(LIBOPT) $(NETPBMLIB) $(JASPERLIB_USE))
 
 $(BINARIES): %: %.o $(JASPERLIB_DEP) $(NETPBMLIB) $(LIBOPT)
-	$(LD) $(LDFLAGS) $(MATHLIB) $(LDLIBS) -o $@ $< \
-	  $(LIBOPTS) $(JASPERDEPLIBS) -lm $(RPATH) $(LADD)
+	$(LD) -o $@ $< \
+	  $(LIBOPTS) $(JASPERDEPLIBS) $(MATHLIB) $(RPATH) \
+	  $(LDFLAGS) $(LDLIBS) $(LADD)
 
 $(INTERNAL_JASPERLIB): $(BUILDDIR)/$(SUBDIR)/libjasper FORCE
 	$(MAKE) -f $(SRCDIR)/$(SUBDIR)/libjasper/Makefile \