<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Sorry if this has been asked before, but I have not been able to find it after a couple of days of Googling, including the list archives.</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I've just started work on an existing piece of in-house software that uses GEOS, which is built against the C API. So far so good, and it builds just fine that way. However, I was looking to see if there's a way to use the C API with a statically compiled library rather than the DLL, as that would substantially simply use of the in-house software. (It would be nice to be able to just distribute the executable, and not worry about passing around library files as well; there's no installer as it's just an internal tool.)</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
However, from what I can see in the code, that doesn't appear to be supported. Is that correct? Is it conceivably doable to modify the makefiles to support building a static library rather than a dynamic one?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I should note, too, that I'm doing all this with MinGW/msys, and the latest builds just fine under that configuration.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
If there's a way to do this, I'm willing to put in <i>some</i> legwork to make it happen and contribute that back to the project, but it's not worth more than a day or two of work for my employer and I'm not <i>particularly</i> familiar with makefiles.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
If I'm just missing something obvious in the available configure and make options, call me dumb and tell me what I'm missing. ;)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks!</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
Chris Krycho</div>