changeset 1620:35dbd22e3af5

[gaim-migrate @ 1630] fix openbsd2.8. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 19 Mar 2001 23:12:42 +0000
parents 0bdc891164ad
children cf2071b095ca
files plugins/Makefile.am
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/Makefile.am	Mon Mar 19 22:40:07 2001 +0000
+++ b/plugins/Makefile.am	Mon Mar 19 23:12:42 2001 +0000
@@ -4,7 +4,11 @@
 	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS)
 	$(LIBTOOL) --mode=link    $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) $(PLUGIN_LIBS)
 	rm -f tmp$@.lo tmp$@.o libtmp$@.la
-	cp .libs/libtmp$@.so $@
+	if test -f .libs/libtmp$@.so ; then \
+		cp .libs/libtmp$@.so $@ ; \
+	elif test -f .libs/libtmp$@.so.0.0 ; then \
+		cp .libs/libtmp$@.so.0.0 $@ ; \
+	fi
 	rm -f .libs/libtmp$@.*
 
 if PLUGINS