View Issue Details

IDProjectCategoryView StatusLast Update
0003326libmicrohttpdbuild systempublic2014-02-24 23:41
ReporterIrfy Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSCygwinOS Version1.7.28(0.271/5/3
Product Version0.9.33 
Target Version0.9.34Fixed in Version0.9.34 
Summary0003326: Won't compile on Cygwin
DescriptionIn configure.ac, the "-no-undefined" option is not understood by GCC 4.8.2 under Cygwin. It should be "-Wl,-no-undefined" (like it is for mingw). Patch attached.
TagsNo tags attached.
Attached Files
libmicrohttpd_cygwin_fix.diff (505 bytes)   
diff --git a/libmicrohttpd/configure.ac b/libmicrohttpd/configure.ac
index 746fb73..db46683 100644
--- a/libmicrohttpd/configure.ac
+++ b/libmicrohttpd/configure.ac
@@ -163,7 +163,7 @@ netbsd*)
      AC_DEFINE_UNQUOTED(CYGWIN,1,[This is a Cygwin system])
      AM_CONDITIONAL(HAVE_GNU_LD, false)
      AM_CONDITIONAL(HAVE_W32, false)
-     LDFLAGS="$LDFLAGS -no-undefined"
+     LDFLAGS="$LDFLAGS -Wl,-no-undefined"
      ;;
 *mingw*)
      AC_DEFINE_UNQUOTED(MINGW,1,[This is a MinGW system])

Activities

Christian Grothoff

2014-02-16 16:39

manager   ~0008114

This was already fixed in SVN.

Issue History

Date Modified Username Field Change
2014-02-16 15:18 Irfy New Issue
2014-02-16 15:18 Irfy File Added: libmicrohttpd_cygwin_fix.diff
2014-02-16 16:39 Christian Grothoff Note Added: 0008114
2014-02-16 16:39 Christian Grothoff Status new => resolved
2014-02-16 16:39 Christian Grothoff Fixed in Version => 0.9.34
2014-02-16 16:39 Christian Grothoff Resolution open => fixed
2014-02-16 16:39 Christian Grothoff Assigned To => Christian Grothoff
2014-02-16 16:39 Christian Grothoff Target Version => 0.9.34
2014-02-24 23:41 Christian Grothoff Status resolved => closed