[Freeswitch-svn] [commit] r12089 - in freeswitch/trunk/libs/esl: . perl

FreeSWITCH SVN anthm at freeswitch.org
Tue Feb 17 07:46:18 PST 2009


Author: anthm
Date: Tue Feb 17 09:46:18 2009
New Revision: 12089

Log:
tweak build

Modified:
   freeswitch/trunk/libs/esl/Makefile
   freeswitch/trunk/libs/esl/perl/Makefile

Modified: freeswitch/trunk/libs/esl/Makefile
==============================================================================
--- freeswitch/trunk/libs/esl/Makefile	(original)
+++ freeswitch/trunk/libs/esl/Makefile	Tue Feb 17 09:46:18 2009
@@ -47,7 +47,7 @@
 swigclean: clean
 	make -C perl swigclean
 
-perlmod:
-	make SOLINK="$(SOLINK)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CXX_CFLAGS="$(CXX_CFLAGS)" -C perl
+perlmod: $(MYLIB)
+	make MYLIB="../$(MYLIB)" SOLINK="$(SOLINK)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CXX_CFLAGS="$(CXX_CFLAGS)" -C perl
 
 

Modified: freeswitch/trunk/libs/esl/perl/Makefile
==============================================================================
--- freeswitch/trunk/libs/esl/perl/Makefile	(original)
+++ freeswitch/trunk/libs/esl/perl/Makefile	Tue Feb 17 09:46:18 2009
@@ -18,8 +18,8 @@
 esl_wrap.o: esl_wrap.cpp
 	$(CXX) $(CXX_CFLAGS) $(CXXFLAGS) $(LOCAL_CFLAGS) -c esl_wrap.cpp -o esl_wrap.o
 
-ESL.so: $(MYLIB) esl_wrap.o perlxsi.o
-	$(CXX) $(SOLINK) esl_wrap.o perlxsi.o $(LOCAL_LDFLAGS) -o ESL.so -L. $(LIBS)
+ESL.so: esl_wrap.o perlxsi.o
+	$(CXX) $(SOLINK) esl_wrap.o perlxsi.o $(MYLIB) $(LOCAL_LDFLAGS) -o ESL.so -L. $(LIBS)
 
 clean:
 	rm -f *.o *.so *~



More information about the Freeswitch-svn mailing list