summaryrefslogtreecommitdiff
path: root/textproc/eruby/files/patch-Makefile.in
blob: c29fcb39483619b8b3780f517522f7086366b458 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: Makefile.in
===================================================================
RCS file: /src/eruby/Makefile.in,v
retrieving revision 1.14
diff -u -r1.14 Makefile.in
--- Makefile.in	6 Dec 2002 06:21:53 -0000	1.14
+++ Makefile.in	18 Jan 2003 13:17:50 -0000
@@ -6,6 +6,7 @@
 VPATH = $(srcdir)
 
 arch = @arch@
+sitearch = @arch@
 ruby_version = @ruby_version@
 
 DESTDIR = @drive@
@@ -136,7 +137,8 @@
 	@-$(RANLIB) $@ 2> /dev/null || true
 
 $(LIBERUBY_SO): $(LIBERUBY_OBJS)
-	$(LDSHARED) $(DLDFLAGS) $(LIBERUBY_OBJS) $(EXT_LIBRUBYARG) $(LIBS) -o $@
+	$(LDSHARED) $(DLDFLAGS) $(XLDFLAGS) $(LIBERUBY_OBJS) \
+		$(EXT_LIBRUBYARG) $(LIBS) -o $@
 	@-$(RUBY) -e 'ARGV.each{|link| File.delete link if File.exist? link; \
 		File.symlink "$(LIBERUBY_SO)", link}' $(LIBERUBY_ALIASES)