Better linkage specification in pkg-config directive file.

This commit is contained in:
Dale Mellor 2020-03-18 12:44:37 +00:00
commit fb50bc88f6
2 changed files with 7 additions and 7 deletions

View file

@ -7,5 +7,5 @@ Name : dmbcs-market-data-api
Description : DMBCS Market Data Service C++ interface library
Version : @VERSION@
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@

View file

@ -138,15 +138,15 @@ vector<Delta> get_component_delta (const string& market_symbol,
const time_t& last_time)
try
{
ostringstream hold;
hold << MARKET_SERVER_URL
<< "components?m=" << market_symbol
<< "&t=" << last_time;
ostringstream hold;
hold << MARKET_SERVER_URL
<< "components?m=" << market_symbol
<< "&t=" << last_time;
const string response {get_curl_response (hold.str ())};
vector<Delta> ret;
ret.reserve (500);
vector<Delta> ret;
ret.reserve (500);
auto cursor {pass_version (response)};