summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-17 09:18:13 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-17 09:18:13 +0000
commit08d6a3da7719eb8be73c9ee58b3bf86f1c9faf22 (patch)
tree3b7c2da91e99fa189a581024f45f80eb651bc525 /Makefile
parent46cd75006d685997be6e62c88e168005eb8adad4 (diff)
-l should come after LDFLAGS.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2871 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1cf0840..f69df2c 100644
--- a/Makefile
+++ b/Makefile
@@ -324,12 +324,12 @@ libtonezone.a: $(TZOBJS)
ar rcs libtonezone.a $^
$(LIBTONEZONE_SO): $(TZOBJS)
- $(CC) $(CFLAGS) -shared -Wl,-soname,$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -lm -o $@ $^ $(LDFLAGS)
+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -o $@ $^ $(LDFLAGS) -lm
ztcfg.c: ztcfg.h
ztcfg-shared: ztcfg.o $(LIBTONEZONE_SO)
- $(CC) $(CFLAGS) -o $@ $^ -lm $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -lm
ztcfg: ztcfg.o libtonezone.a
ztcfg: LDFLAGS+=-lm