]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Libtool build fix for mod_perl: use LIBTOOL_LIB_EXTEN to make libtool-2.2 happy and...
authorStefan Knoblich <stkn@freeswitch.org>
Fri, 17 Apr 2009 20:21:35 +0000 (20:21 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Fri, 17 Apr 2009 20:21:35 +0000 (20:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13080 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_perl/Makefile

index 145951576f8c65b88af94dcaae19b05f429ebbe6..62454b3fa9d4febb5499d7fb3a8dd14bc7bf8525 100644 (file)
@@ -23,10 +23,10 @@ mod_perl_wrap.cpp:
 orig: mod_perl_wrap.cpp
        patch -R -s -p0 -i hack.diff
 
-freeswitch.$(DYNAMIC_LIB_EXTEN): $(LOCAL_OBJS) $(LOCAL_LIBADD)
-       $(LINK) $(SOLINK) -o freeswitch.$(DYNAMIC_LIB_EXTEN)  $(LOCAL_OBJS) $(LOCAL_LIBADD) $(LDFLAGS)
+freeswitch.$(LIBTOOL_LIB_EXTEN): $(LOCAL_OBJS) $(LOCAL_LIBADD)
+       $(CXXLINK) $(SOLINK) -o freeswitch.$(LIBTOOL_LIB_EXTEN) $(LOCAL_OBJS) $(LOCAL_LIBADD) $(LDFLAGS)
 
-local_all: freeswitch.$(DYNAMIC_LIB_EXTEN)
+local_all: freeswitch.$(LIBTOOL_LIB_EXTEN)
 
 .perlok:
        @(${PERL} -V | grep -i usemultiplicity=define >/dev/null && echo Phew, You have the right perl.) \
@@ -34,9 +34,9 @@ local_all: freeswitch.$(DYNAMIC_LIB_EXTEN)
        @touch .perlok
 
 local_clean:
-       rm -fr *~ .perlok freeswitch.$(DYNAMIC_LIB_EXTEN)
+       rm -fr *~ .perlok .libs freeswitch.$(LIBTOOL_LIB_EXTEN) 2>/dev/null
 
 depend_install:
        mkdir -p $(DESTDIR)$(PREFIX)/perl
-       $(LTINSTALL) freeswitch.$(DYNAMIC_LIB_EXTEN) freeswitch.pm $(DESTDIR)$(PREFIX)/perl
+       $(LTINSTALL) freeswitch.$(LIBTOOL_LIB_EXTEN) freeswitch.pm $(DESTDIR)$(PREFIX)/perl
        if [ ! -f $(DESTDIR)$(PREFIX)/perl/freeswitch.pm ] ; then $(LTINSTALL) freeswitch.pm $(DESTDIR)$(PREFIX)/perl ; fi