[#3986] Re: Principle of least effort -- another Ruby virtue. — Andrew Hunt <andy@...>

> Principle of Least Effort.

14 messages 2000/07/14

[#4043] What are you using Ruby for? — Dave Thomas <Dave@...>

16 messages 2000/07/16

[#4139] Facilitating Ruby self-propagation with the rig-it autopolymorph application. — Conrad Schneiker <schneik@...>

Hi,

11 messages 2000/07/20

[ruby-talk:03942] Re: There's still a problem with mod_ruby's Makefile.RB

From: Shugo Maeda <shugo@...>
Date: 2000-07-12 07:03:12 UTC
List: ruby-talk #3942
Hi,

At 11 Jul 2000 00:28:02 -0500,
Dave Thomas <Dave@thomases.com> wrote:
>      RUBY_INSTALL_NAME = ruby
>      LIBRUBYARG = $(LIBRUBY_A)
(snip)
> LIBRUBYARG is invalid, as it hasn't been expanded into the path to my
> libruby.a.

Please apply this patch to Makefile.RB.

--- Makefile.RB	2000/05/19 05:32:10	1.13
+++ Makefile.RB	2000/07/12 07:03:27
@@ -47,7 +47,11 @@
   exit(1)
 end
 
-$LIBRUBYARG = CONFIG["LIBRUBYARG"]
+begin
+  $LIBRUBYARG = Config.expand(CONFIG["LIBRUBYARG"])
+rescue
+  $LIBRUBYARG = CONFIG["LIBRUBYARG"]
+end
 if $LIBRUBYARG =~ /\.a$/
   $shared = false
   $LIBRUBYARG = $hdrdir + "/" + $LIBRUBYARG


Shugo

In This Thread

Prev Next