Skip to content

Instantly share code, notes, and snippets.

@klobs
klobs / mac_os_x.patch
Created November 13, 2011 04:21
Patch to make apt-dater work under Mac OS X
diff --git a/src/Makefile.am b/src/Makefile.am
index 8eafc8f..13cd597 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,6 +37,6 @@ apt_dater_SOURCES = \
apt_dater_LDADD = $(GLIB_LIBS) $(TCL_LIBS) $(LIBXML2_LIBS)
AM_CFLAGS = -Wall -DPKGLIBDIR='"'$(pkglibdir)'"'
-AM_LDFLAGS = -Wl,--as-needed
+AM_LDFLAGS = -Wl