From 4dc2397ab36fa9bb146ab1126c44f573ae00e642 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 11 Mar 2007 09:05:56 +0000 Subject: [PATCH] move all the generic modules to use libtool to link. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4528 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- generic_mod.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generic_mod.mk b/generic_mod.mk index 5e14eb630b..0322c3b3e8 100644 --- a/generic_mod.mk +++ b/generic_mod.mk @@ -2,10 +2,10 @@ all: $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c $(CC) $(CFLAGS) -c $(MODNAME).c -o $(MODNAME).o - $(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS) + $(LINK) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS) clean: - rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ + rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~ .libs install: - cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod + $(LTINSTALL) $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(DESTDIR)$(PREFIX)/mod