On 12/15/2010 11:45 AM, Sebastian Salazar wrote:
> modified
> the line 53 and 139, I change the dll tag for lib, then configure;
> make; make install without success. It doesn't create the static lib.
It's more than a one-line change, because the XML schema for <lib> is
different than for <dll>. I made the necessary changes here, and it
does work:
> Index: mysql++.bkl
> ===================================================================
> --- mysql++.bkl (revision 2680)
> +++ mysql++.bkl (working copy)
> @@ -55,10 +55,8 @@
> </if>
>
> <if cond="BUILDLIBRARY=='yes'">
> - <dll id="mysqlpp">
> - <dllname>mysqlpp$(DEBUG_SUFFIX)</dllname>
> + <lib id="mysqlpp">
> <libname>mysqlpp$(DEBUG_SUFFIX)</libname>
> - <so_version>3.1.0</so_version>
>
> <sources>
> lib/beemutex.cpp
> @@ -142,7 +140,7 @@
> tarball, Fink, etc., inferring preference from use of Xcode. -->
> <lib-path>/usr/local/mysql/lib</lib-path>
> </if>
> - </dll>
> + </lib>
>
> <data-files>
> <files>lib/*.h</files>