# HG changeset patch # User Eric Warmenhoven # Date 982882203 0 # Node ID c3a40af2b0c4a23aab74b8fc7156e54664552093 # Parent d33bf654854393fd173c15b99858705d2004502d [gaim-migrate @ 1507] this is a hack committer: Tailor Script diff -r d33bf6548543 -r c3a40af2b0c4 plugins/Makefile.am --- a/plugins/Makefile.am Thu Feb 22 00:42:55 2001 +0000 +++ b/plugins/Makefile.am Thu Feb 22 22:50:03 2001 +0000 @@ -1,7 +1,11 @@ -LDFLAGS += $(LDADD) $(LIBS) -ggdb -shared +CFLAGS += -I\$(top_srcdir) -I\$(top_srcdir)/src -DVERSION=\"$(VERSION)\" SUFFIXES = .c .so .c.so: - $(CC) $(CFLAGS) -I\$(top_srcdir)/src -I\$(top_srcdir) -DVERSION=\"$(VERSION)\" -fPIC -o $@ $< $(LDFLAGS) $(PLUGIN_LIBS) + $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp.lo + $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp.la -rpath $(plugindir) tmp.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS) + rm tmp.lo tmp.o libtmp.la + mv .libs/libtmp.so.0.0.0 $@ + rm -rf .libs if PLUGINS