Commit 6cf0e197f29c936fed56c642e92bab12eb0047f6

Thomas de Grivel 2023-11-20T11:14:37

add CPPFLAGS=-I/usr/local/include and LDFLAGS=-L/usr/local/include

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/etc/profile b/etc/profile
index 4fca22b..242a4f9 100644
--- a/etc/profile
+++ b/etc/profile
@@ -10,6 +10,6 @@ export LD_LIBRARY_PATH="${RBPKG_DIR}/lib:${LD_LIBRARY_PATH}"
 
 # compile time
 
-export CPPFLAGS="${CPPFLAGS} -I${RBPKG_DIR}/include"
-export LDFLAGS="${LDFLAGS} -L${RBPKG_DIR}/lib"
+export CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I${RBPKG_DIR}/include"
+export LDFLAGS="${LDFLAGS} -L/usr/local/lib -L${RBPKG_DIR}/lib"
 export PKG_CONFIG_PATH="${RBPKG_DIR}/lib/pkgconfig"