Better linkage specification in pkg-config directive file.
This commit is contained in:
parent
cf63bf5297
commit
fb50bc88f6
2 changed files with 7 additions and 7 deletions
|
@ -7,5 +7,5 @@ Name : dmbcs-market-data-api
|
||||||
Description : DMBCS Market Data Service C++ interface library
|
Description : DMBCS Market Data Service C++ interface library
|
||||||
Version : @VERSION@
|
Version : @VERSION@
|
||||||
Requires : curlpp openssl
|
Requires : curlpp openssl
|
||||||
Libs : -L${libdir} -ldmbcs-market-data-api @third_party_LIBS@
|
Libs : -L${libdir} @third_party_LIBS@ -ldmbcs-market-data-api
|
||||||
Cflags : -I${includedir} @third_party_CFLAGS@
|
Cflags : -I${includedir} @third_party_CFLAGS@
|
||||||
|
|
|
@ -138,15 +138,15 @@ vector<Delta> get_component_delta (const string& market_symbol,
|
||||||
const time_t& last_time)
|
const time_t& last_time)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
ostringstream hold;
|
ostringstream hold;
|
||||||
hold << MARKET_SERVER_URL
|
hold << MARKET_SERVER_URL
|
||||||
<< "components?m=" << market_symbol
|
<< "components?m=" << market_symbol
|
||||||
<< "&t=" << last_time;
|
<< "&t=" << last_time;
|
||||||
|
|
||||||
const string response {get_curl_response (hold.str ())};
|
const string response {get_curl_response (hold.str ())};
|
||||||
|
|
||||||
vector<Delta> ret;
|
vector<Delta> ret;
|
||||||
ret.reserve (500);
|
ret.reserve (500);
|
||||||
|
|
||||||
auto cursor {pass_version (response)};
|
auto cursor {pass_version (response)};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue