[zaptel-commits] tzafrir: branch 1.2 r2871 - /branches/1.2/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Fri Aug 17 04:18:13 CDT 2007


Author: tzafrir
Date: Fri Aug 17 04:18:13 2007
New Revision: 2871

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2871
Log:
-l should come after LDFLAGS.

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?view=diff&rev=2871&r1=2870&r2=2871
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Fri Aug 17 04:18:13 2007
@@ -324,12 +324,12 @@
 	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




More information about the zaptel-commits mailing list