google-code-export / serf

Automatically exported from code.google.com/p/serf
Apache License 2.0
1 stars 1 forks source link

[PATCH] Allow linking with static APR/Util #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
APR/Util puts static libs in LibD/LibR rather than Debug/Release directories. 
This patch teaches serf.mak to use those libraries if APR_STATIC is defined, 
and adds a few options for linking the test programs.

Unrelated to that, avoid a linker warning about overriding MSVCRT during a 
debug build.

* serf.mak (LIB32_FLAGS): Add /nodefaultlib:msvcrt.lib in debug mode.
  (APR_STATIC): When defined, redirect APR/APR-Util lib search path.
  (TEST_LIBS): With APR_STATIC, add mswsock.lib, rpcrt4.lib and shell32.lib.

Original issue reported on code.google.com by br...@xbc.nu on 9 Aug 2012 at 5:34

Attachments:

GoogleCodeExporter commented 9 years ago
The same patch, against the 1.1.x branch.

Original comment by br...@xbc.nu on 10 Aug 2012 at 3:51

Attachments: