3 # Author : Cedric.Bilat@he-arc.ch
9 ##############################################
11 ##############################################
24 # liba.so depend de libb.so
25 # on link que liba.so avec
28 # linker pas content car trouve pas lib.so
29 # warning ou carrement refuse linker!
32 # Mettre le folder contenant libb.so dans -rpathlink
35 # http://ftp.gnu.org/pub/old-gnu/Manuals/ld-2.9.1/html_node/ld_3.html
38 ESPACE+=#astice de guere
40 RPATH_LINK:=$(strip ${RPATH_LINK})#replaces each internal sequence of one or more whitespace characters with a single space
41 RPATH_LINK:=$(subst ${ESPACE},:,${RPATH_LINK})# ESPACE -> :
44 RPATH_LINK:=${RPATH_LINK}:/opt/kayla/system/lib#ici pour garantir unicite,si manque warning only, pas error
45 RPATH_LINK:= -rpath-link=${RPATH_LINK}#-rpath-link pourrait apparaitre plusieurs fois,
46 override LDFLAGS:= ${RPATH_LINK} ${LDFLAGS}
47 override LDFLAGS:= -Xlinker ${LDFLAGS}#-Xlinker doit apparaitre a gauche de -rpath-link. exemple: -Xlinker -rpath-link=
51 override CXXFLAGS+= ${ARM_CXXFLAGS}
56 #############################################
58 #############################################