« Return to Thread: patch for autotools-utils.eclass

patch for autotools-utils.eclass

by Alan Hourihane-4 :: Rate this Message:

| View in Thread

Hi all,

Patch for FreeMiNT autotools-utils.eclass.

Should I submit to bugzilla ?

Alan.



[autotools-utils.eclass.patch]

--- autotools-utils.eclass 2012-02-04 09:31:14.000000000 +0000
+++ /tmp/0 2012-04-11 20:45:06.439709678 +0100
@@ -411,8 +411,17 @@
 
  # Handle static-libs found in IUSE, disable them by default
  if in_iuse static-libs; then
+ if tc-is-static-only; then
+ econfargs+=(
+ --disable-shared
+ )
+ else
+ econfargs+=(
+ --enable-shared
+ )
+        fi
+
  econfargs+=(
- --enable-shared
  $(use_enable static-libs static)
  )
  fi

 « Return to Thread: patch for autotools-utils.eclass