List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:December 16 2010 2:45pm
Subject:Re: static library
View as plain text  
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>
Thread
static libraryKemin Zhou14 Dec
  • Re: static libraryWarren Young14 Dec
    • Re: static libraryKemin Zhou14 Dec
      • Re: static libraryDino Korah14 Dec
      • Re: static libraryWarren Young15 Dec
        • Re: static librarySebastian Salazar15 Dec
          • Re: static libraryKemin Zhou16 Dec
            • Re: static libraryJonathan Wakely16 Dec
            • Re: static libraryChris Morgan16 Dec
            • Re: static libraryunrouted)16 Dec
          • Re: static libraryWarren Young16 Dec
            • Re: static libraryChris Frey16 Dec
              • Re: static libraryWarren Young16 Dec
                • Re: static libraryChris Frey17 Dec
                  • Re: static libraryWarren Young17 Dec
                    • Re: static libraryChris Frey17 Dec
Re: static libraryPeter Thorson14 Dec