Status: active
Severity:
enhance
Category: Other
Created: 2007-05-06
Updated: 2007-06-24
I tried to compile it on cygwin with CXXFLAGS=-mno-cygwin and LDFLAGS=-mno-cygwin. The resulting Makefile had the flag in CXXFLAGS but not in LDFLAGS, so linking failed. For reasons obscure to me, the following patch fixes it (although compiling demo.exe fails, nonetheless my Python-Metakit-using app works):
Mon Apr 30 12:17:45 MDT 2007 zooko@zooko.com
* add LINK_SPECIAL_FLAGS=$(LDFLAGS)
diff -rN -u old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure
--- old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure 2007-05-07 11:26:54.000000000 -0600
+++ new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure 2007-05-07 11:26:54.000000000 -0600
@@ -3571,6 +3571,7 @@
;;
*)
LDFLAGS="${LDFLAGS} -lstdc++"
+ LINK_SPECIAL_FLAGS="${LDFLAGS}"
;;
esac
diff -rN -u old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in
--- old-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in 2007-05-07 11:26:54.000000000 -0600
+++ new-metakit-2.4.9.6/metakit-2.4.9.6/unix/configure.in 2007-05-07 11:26:54.000000000 -0600
@@ -266,6 +266,7 @@
;;
*)
LDFLAGS="${LDFLAGS} -lstdc++"
+ LINK_SPECIAL_FLAGS="${LDFLAGS}"
;;
esac
- 2007-05-06 Zooko O'Whielacronx
Imported
- 2007-06-21
(Changed: stat desc)
- 2007-06-21 jcw
(Changed: stat)
- 2007-06-24 jcw
Note sure - it might be better to add LDFLAGS to the makefile.
- 2007-06-24 jcw
(Changed: stat)
