Sfoglia il codice sorgente

teach Ruby about the linker flags (btw, the usual LDFLAGS passing doesn't work as expected here)

Ralf S. Engelschall 20 anni fa
parent
commit
d796886b91
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      ruby/ruby.spec

+ 2 - 1
ruby/ruby.spec

@@ -34,7 +34,7 @@ Class:        BASE
 Group:        Language
 License:      GPL
 Version:      1.8.2
-Release:      20050309
+Release:      20050316
 
 #   list of sources
 Source0:      ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz
@@ -70,6 +70,7 @@ AutoReqProv:  no
     CFLAGS="%{l_cflags -O} %{l_cppflags}" \
     ./configure \
         --prefix=%{l_prefix} \
+        --with-ldflags="%{l_ldflags}" \
         --disable-shared
     %{l_make} %{l_mflags}