<p>If building under cygwin, you'll encounter the following undefined references:</p>

<p>build_geometry.o: In function coords2nodes':<br>
/cygdrive/c/development/bamboo/bamboo-home/xml-data/build-dir/OSM-OSM2PSQL-JOB1/build_geometry.cpp:220: undefined reference togeos::geom::Coordinate::Coordinate(double, double, double)'<br>
/cygdrive/c/development/bamboo/bamboo-home/xml-data/build-dir/OSM-OSM2PSQL-JOB1/build_geometry.cpp:220: undefined reference to geos::geom::Coordinate::~Coordinate()'<br>
/cygdrive/c/development/bamboo/bamboo-home/xml-data/build-dir/OSM-OSM2PSQL-JOB1/build_geometry.cpp:220: undefined reference togeos::geom::Coordinate::~Coordinate()'</p>

<p>This update resolves those issues.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/onepremise/osm2pgsql master</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/openstreetmap/osm2pgsql/pull/19'>https://github.com/openstreetmap/osm2pgsql/pull/19</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Fix for CYGWIN which resolves undefined references</li>
  <li>Cygwin packaging script</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/19/files#diff-0">build_geometry.cpp</a>
    (4)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/osm2pgsql/pull/19/files#diff-1">cygpkg.sh</a>
    (58)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/19.patch'>https://github.com/openstreetmap/osm2pgsql/pull/19.patch</a></li>
  <li><a href='https://github.com/openstreetmap/osm2pgsql/pull/19.diff'>https://github.com/openstreetmap/osm2pgsql/pull/19.diff</a></li>
</ul>