openbsd-ports/x11/ion/patches/patch-rules_mk
naddy ff6aa26cf1 Update to stable version 2-20040601.
From: Tim Kornau <opti@openbsd.de> and Bernd Ahlers <ba@bsws.de>.
2004-07-09 21:16:26 +00:00

17 lines
590 B
Plaintext

$OpenBSD: patch-rules_mk,v 1.1 2004/07/09 21:16:26 naddy Exp $
--- rules.mk.orig Fri Jul 2 14:53:11 2004
+++ rules.mk Fri Jul 2 14:53:46 2004
@@ -82,10 +82,10 @@ LINKOPT=-static -module -avoid-version
endif
%.lo: %.c
- $(LIBTOOL) --mode=compile $(CC) $(PICOPT) $(CFLAGS) -c $< -o $@
+ $(LIBTOOL) --mode=compile --tag=CXX $(CC) $(PICOPT) $(CFLAGS) -c $< -o $@
$(MODULE).la: $(OBJS) $(EXT_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(LINKOPT) $(LDFLAGS) \
+ $(LIBTOOL) --mode=link --tag=CXX $(CC) $(LINKOPT) $(LDFLAGS) \
-rpath $(MODULEDIR) $(OBJS) $(EXT_OBJS) -o $@
module_install: