libelf: fix build on macOS x86_64 (#34646)
This commit is contained in:
		| @@ -30,14 +30,14 @@ class Libelf(AutotoolsPackage): | |||||||
|     provides("elf@0") |     provides("elf@0") | ||||||
| 
 | 
 | ||||||
|     # configure: error: neither int nor long is 32-bit |     # configure: error: neither int nor long is 32-bit | ||||||
|     depends_on("automake", when="platform=darwin target=aarch64:", type="build") |     depends_on("automake", when="platform=darwin", type="build") | ||||||
|     depends_on("autoconf", when="platform=darwin target=aarch64:", type="build") |     depends_on("autoconf", when="platform=darwin", type="build") | ||||||
|     depends_on("libtool", when="platform=darwin target=aarch64:", type="build") |     depends_on("libtool", when="platform=darwin", type="build") | ||||||
|     depends_on("m4", when="platform=darwin target=aarch64:", type="build") |     depends_on("m4", when="platform=darwin", type="build") | ||||||
| 
 | 
 | ||||||
|     @property |     @property | ||||||
|     def force_autoreconf(self): |     def force_autoreconf(self): | ||||||
|         return self.spec.satisfies("platform=darwin target=aarch64:") |         return self.spec.satisfies("platform=darwin") | ||||||
| 
 | 
 | ||||||
|     def configure_args(self): |     def configure_args(self): | ||||||
|         args = ["--enable-shared", "--disable-debug"] |         args = ["--enable-shared", "--disable-debug"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Adam J. Stewart
					Adam J. Stewart