Mercurial > pidgin
changeset 1497:c3a40af2b0c4
[gaim-migrate @ 1507]
this is a hack
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 22 Feb 2001 22:50:03 +0000 |
parents | d33bf6548543 |
children | 0ef6603d986e |
files | plugins/Makefile.am |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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