aboutsummaryrefslogtreecommitdiff
path: root/ares/Makefile.am
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-05-24 23:02:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-05-24 23:02:51 +0000
commitc60621c367f99af10cb1acda558f0b53a7903278 (patch)
tree91f4516a50c359aea2adf0adbd48ef0d2b156585 /ares/Makefile.am
parent606562aa7ea28ee0fdd5bf2cd6febada9594ad19 (diff)
Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32
Diffstat (limited to 'ares/Makefile.am')
-rw-r--r--ares/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/ares/Makefile.am b/ares/Makefile.am
index 9983941a1..8718f55c3 100644
--- a/ares/Makefile.am
+++ b/ares/Makefile.am
@@ -43,7 +43,13 @@ VER=-version-info 1:0:0
# set age to 0. (c:r:a=0)
#
-libcares_la_LDFLAGS = $(VER)
+if NO_UNDEFINED
+# The -no-undefined flag is crucial for this to build fine on some platforms
+UNDEF = -no-undefined
+endif
+
+
+libcares_la_LDFLAGS = $(UNDEF) $(VER)
# Makefile.inc provides the CSOURCES and HHEADERS defines
include Makefile.inc