mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] policy for shared or static libs in ptxdist?
@ 2017-09-12  8:57 Alexander Dahl
  2017-09-13  5:54 ` Robert Schwebel
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2017-09-12  8:57 UTC (permalink / raw)
  To: ptxdist

Hei everyone,

for a C library project built with CMake, which I'm currently the 
maintainer for, I got some patches from the buildroot folks to support 
static linking of the library. AFAIK buildroot supports building the 
whole BSP statically linked. For CMake based projects it sets the global 
CMake variable BUILD_SHARED_LIBS to control if a package should be built 
as shared or static lib (which of course must be supported by the 
upstream packages then).

As far as ptxdist is concerned, I used grep today to find out how this 
is handled over here. What I could see was no central support for either 
the one or the other, but letting the packages do what they want, each 
handling it individually. However I saw most packages (most are 
autotools based) setting --enable-shared and --disable-static – so I 
assume the general policy for ptxdist is to build shared libraries and 
there's no support for building static libraries, except for some rare 
packages, where a menu option for this exists.

So what I want to know is how this is handled or should be handled in 
ptxdist? Depending on that I maybe will send a patch for building CMake 
based (library) packages.

Greets
Alex


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-13 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-12  8:57 [ptxdist] policy for shared or static libs in ptxdist? Alexander Dahl
2017-09-13  5:54 ` Robert Schwebel
2017-09-13 11:35   ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox