Hi Everyone,

We're using several libraries in our product, and most of them just work
by adding a line like:

LIBS = libc

However in some cases this is not sufficient. For example lwip requires
an additional include directive:

INC_DIR += $(REP_DIR)/src/lib/lwip/include
(line from repos/libports/src/test/lwip/http_srv_static/target.mk)

Leaving out this line will result in a compilation error of a local
include file. Looking at various library ports (mbedtls, polarssl, curl,
and probably more) we see similar behavior. Usually some library
configuration header file should be added manually to the include path
to make things work.

Adding this extra line for a default library configuration feels
redundant, so we're wondering we might do something we're not supposed
to do, or should be done in a different way?

Thanks, Menno

-- 
Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to