12 Jul 13:24
bakefile problems with --enable-shared option
From: Francesco Montorsi <f18m_cpp217828@...>
Subject: bakefile problems with --enable-shared option
Newsgroups: gmane.comp.lib.wxwidgets.wxcode.user
Date: 2008-07-12 11:24:24 GMT
Subject: bakefile problems with --enable-shared option
Newsgroups: gmane.comp.lib.wxwidgets.wxcode.user
Date: 2008-07-12 11:24:24 GMT
[sending this reply to wxcode-users, too] Hi Ulrich, and all wxCode devs, Ulrich Telle ha scritto: > Although the option --enable-shared=no (or --disable-shared) is > specified when running ./configure running make does not build wxSQLite3 as a > static library but as a shared library. same here. The --enable-shared/--disable-shared options are simply ignored by wxCode component build systems (not only by wxsqlite3). I'm not sure when this bug was introduced (I tried to search in the CVS/SVN history without success)... but I'm sure it worked originally. > Is there anything wrong with my bakefile? there's nothing wrong with your bakefile... however I've found that the problem is deeper. The fact is that your component (like all other wxCode components! I've checked this!) uses WXCODE_OPTIONS([debug,unicode,shared,toolkit,wxshared,wxversion]) in the configure.ac i.e. specifies not only wxshared but also "shared" option. This is wrong. In fact, there's no SHARED option declared in the wxCode bakefile or in your component's bakefile. wx autoconf macros and wx bakefile presets in fact are affected only by the value of WX_SHARED (the --with-wxshared option in fact works as intended). This is confirmed also by the fact that the components' win32 makefiles(Continue reading)
RSS Feed