Skip to content

Commit

Permalink
qb/config.libs.sh: Extend default INCLUDES with GCC environment varia…
Browse files Browse the repository at this point in the history
…bles.

C_INCLUDE_PATH and CPLUS_INCLUDE_PATH are consulted by GCC, so should
be considered by check_libs as well.

* qb/config.libs.sh (INCLUDES): Add C_INCLUDE_PATH and
CPLUS_INCLUDE_PATH values to it.
  • Loading branch information
Apteryks committed Oct 6, 2024
1 parent 45f606b commit b6ecc22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qb/config.libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ CLIB=-lc
PTHREADLIB=-lpthread
SOCKETLIB=-lc
SOCKETHEADER=
INCLUDES='usr/include usr/local/include'
TR='tr'
INCLUDES="$(echo $C_INCLUDE_PATH | $TR ':' ' ') \
$(echo $CPLUS_INCLUDE_PATH | $TR ':' ' ') \
usr/include usr/local/include"
SORT='sort'
EXTRA_GL_LIBS=''
VC_PREFIX=''
Expand Down

0 comments on commit b6ecc22

Please sign in to comment.