From: David McCullough Date: Wed, 22 Feb 2006 01:29:27 +0000 (+0000) Subject: Hello, X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ff84934376a2ab5dbc38668040a751e52053eaf6;p=elf2flt.git Hello, the following trivial patch is required to build elf2flt on Darwin. Weirdly, static compilation is intentionally unsupported by Apple for better compatibility: http://developer.apple.com/qa/qa2001/qa1118.html As elf2flt binaries are usually shipped along with other dynamic binaries such as gcc and gdb, we don't loose anything on Linux. I'd commit it myself, but I can't access the CVS server right now. Bernardo Innocenti --- diff --git a/Makefile.in b/Makefile.in index 6917cf3..6e8e310 100644 --- a/Makefile.in +++ b/Makefile.in @@ -13,7 +13,7 @@ TARGET = @target_alias@ CFLAGS = @CFLAGS@ INCLUDES = @bfd_include_dir@ @binutils_include_dir@ CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -static +LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ DEFS = @DEFS@ -DTARGET_$(CPU)