diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-06-21 18:57:52 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-06-21 18:57:52 +0000 |
commit | a9558eab4deaa4706483ab905e17310f6b3caa5f (patch) | |
tree | db21ef87cfa26c11b3200cba72233c10bcfcdbea /common.mk | |
parent | a4f37320456cb9e9105fe7b2f82d189dd7f062dd (diff) | |
download | netpbm-mirror-a9558eab4deaa4706483ab905e17310f6b3caa5f.tar.gz netpbm-mirror-a9558eab4deaa4706483ab905e17310f6b3caa5f.tar.xz netpbm-mirror-a9558eab4deaa4706483ab905e17310f6b3caa5f.zip |
Put -lm in the proper place inlink order
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1694 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk index 01fb6d91..f93c9e0f 100644 --- a/common.mk +++ b/common.mk @@ -347,8 +347,8 @@ MATHLIB ?= -lm # Note that LDFLAGS might contain -L options, so order is important. # LDFLAGS is commonly set as an environment variable. -LDFLAGS_ALL = $(MATHLIB) $(shell $(LIBOPT) $(NETPBMLIB)) \ - $(LDFLAGS) $(LDLIBS) $(RPATH) $(LADD) +LDFLAGS_ALL = $(shell $(LIBOPT) $(NETPBMLIB)) \ + $(LDFLAGS) $(LDLIBS) $(MATHLIB) $(RPATH) $(LADD) $(PORTBINARIES) $(MATHBINARIES): %: %.o $(NETPBMLIB) $(LIBOPT) $(LD) -o $@ $@.o $(LDFLAGS_ALL) |