--- src/Makefile.in 2009-07-17 07:35:22.000000000 -0700
+++ src/Makefile.in 2010-03-23 10:23:01.305941153 -0700
@@ -127,7 +127,7 @@
LCMS_PYEXECDIR = @LCMS_PYEXECDIR@
LCMS_PYINCLUDE = @LCMS_PYINCLUDE@
LCMS_PYLIB = @LCMS_PYLIB@
-LD = @LD@
+LD = $(CC) $(CFLAGS) $(LDFLAGS)
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBRARY_AGE = @LIBRARY_AGE@