Commit Graph

9 Commits

Author SHA1 Message Date
Aurelien Jacobs d268866d29 detect the appropriate link flag for retaining all objects of static lib
This closes bug #802.
2016-05-26 17:48:09 +02:00
Aurelien Jacobs d12123100a prevent the sr_driver_list section to be dropped with static linking 2016-05-19 18:28:00 +02:00
Daniel Elstner bc8ff24de6 Build: Leave LIBS alone during configure
Put the extra libraries into SR_EXTRA_LIBS instead of LIBS.
Create an SR_CHECK_LIBS macro to make that easy. Substitute
SR_EXTRA_LIBS into libsigrok.pc, too.
2015-08-24 22:19:05 +02:00
Daniel Elstner b9eb8e1a8c Consistently use SR_PACKAGE_VERSION instead of VERSION 2015-08-16 18:28:13 +02:00
Uwe Hermann ee8ddd8f5a Always link against the math library.
This fixes bug #115.
2013-05-10 21:46:30 +02:00
Uwe Hermann 6dddd90224 sr: SR_PACKAGE_VERSION_* for consistency.
No need to use the LIBSIGROK_ prefix here when we use SR_ everywhere
else. Also, better distinction between package version and lib version.
2012-03-31 11:35:47 +02:00
Uwe Hermann e48846b1d2 libsigrok: glib-2.0 is a hard requirement. 2011-11-19 16:23:21 +01:00
Uwe Hermann 300007323e libsigrok.pc: Add Required.private field entries.
The "Required.private:" field in pkg-config .pc files is used for
declaring that we need the listed libs (pkg-config packages) for
static linking, but not for dynamic linking.
I.e., the "Required.private:" field should be used for libs which we
use internally in libsigrok, but which we do not "expose" ourselves.

For now all libs are listed as "Required.private:" instead of
"Required:", but this may not be entirely correct and needs to be
checked carefully at some later date.
2011-11-15 01:16:38 +01:00
Uwe Hermann d658e348a8 pkg-config: Add (semi-generated) libsigrok.pc. 2010-05-11 22:28:09 +02:00