pidgin: a6f08566: Fix compiling 'make plugin.so' when srcd...

sadrul at pidgin.im sadrul at pidgin.im
Mon Sep 1 12:00:57 EDT 2008


-----------------------------------------------------------------
Revision: a6f0856683b8c919dfe45c4b0b50fe5b69f43f68
Ancestor: ddede263ddbdfa47f0c87c68babbc5df22a3e313
Author: sadrul at pidgin.im
Date: 2008-09-01T16:09:01
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a6f0856683b8c919dfe45c4b0b50fe5b69f43f68

Modified files:
        libpurple/plugins/Makefile.am

ChangeLog: 

Fix compiling 'make plugin.so' when srcdir != builddir

-------------- next part --------------
============================================================
--- libpurple/plugins/Makefile.am	062a44d8df3bfe3f9e5756ecf6e7fde29d836736
+++ libpurple/plugins/Makefile.am	04fff3cf82b00dc77e563c6a9c5b6e5d47df6a07
@@ -150,7 +150,7 @@ SUFFIXES = .c .so
 #
 SUFFIXES = .c .so
 .c.so:
-	$(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
+	$(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_builddir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
 	$(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS)
 	@rm -f tmp$@.lo tmp$@.o libtmp$@.la
 	@cp .libs/libtmp$@.so* $@


More information about the Commits mailing list