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-18 00:14:35 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2008-12-18 00:14:35 +0000
commita2f8752d2bd1379f7bbe422027c041925802f029 (patch)
tree5336131cfb23617ad67f2474555fdb30db1adbb9 /converter/other/jpeg2000/Makefile
parent1531fdb3a9544e899b5108208faf2e265d19ab9f (diff)
downloadnetpbm-mirror-a2f8752d2bd1379f7bbe422027c041925802f029.tar.gz
netpbm-mirror-a2f8752d2bd1379f7bbe422027c041925802f029.tar.xz
netpbm-mirror-a2f8752d2bd1379f7bbe422027c041925802f029.zip
Release 10.44.04
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@792 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 92225818..af8be82c 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 \