Project

General

Profile

Actions

Task #2244

closed

Allow compilation against statically compiled libraries

Added by Alex Afanasyev almost 11 years ago. Updated over 10 years ago.

Status:
Abandoned
Priority:
Normal
Category:
Build
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

waf has a "feature" of not propagating static libraries in "use" variables of build targets.

This effectively means that we need to specify use='BOOST CRYPTOPP SQLITE3' for every build task that actually uses boost, cryptopp, and sqlite3 libraries (e.g., all test cases).

Actions #1

Updated by Alex Afanasyev almost 11 years ago

  • Category set to Build
Actions #2

Updated by Alex Afanasyev almost 11 years ago

I have a patch for this issue, but I'm having doubts whether to actually submit it or not. For completeness, I can submit the patch, but statically compiling binaries is kind of weird and shouldn't be really encouraged.

Originally, this feature was needed in the first attempt to cross-compile code on Android platform. However, it will not be needed in the future (there are no restrictions on using shared libraries and I have no idea why instructions on the Internet we followed suggested static libraries...).

Actions #3

Updated by Alex Afanasyev almost 11 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #4

Updated by Alex Afanasyev almost 11 years ago

  • Subject changed from Allow compilation against statically compiled boost libraries to Allow compilation against statically compiled libraries
  • Description updated (diff)
Actions #5

Updated by Alex Afanasyev almost 11 years ago

  • Target version deleted (v0.3)
Actions #6

Updated by Alex Afanasyev over 10 years ago

  • Status changed from Code review to Abandoned

I decided to abandon this. Instead, I'm thinking to provide ability to avoid library detection and use only explicitly specified flags.

Actions

Also available in: Atom PDF