when run inside libisoburn, also resolve the headers from ../../libburn and ../../libisofs; when run inside gnu-xorriso all headers are resolved via ../

This commit is contained in:
George Danchev 2012-04-21 11:09:30 +00:00
parent 51f5457f90
commit 89fdb9b3b6

View File

@ -50,7 +50,7 @@ fi
# process sample code tests
for SMPL in `ls "${SAMPLE_CODE_DIR}"/*.cpp`; do
# CMD_CPL="${CC} -I../ -L ../libisoburn/.libs/ ${CFLAGS} -lisoburn -o ${SMPL}.obj ${SMPL}"
CMD_CPL="${CC} -c -I../ ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
CMD_CPL="${CC} -c -I../ -I../../libburn -I../../libisofs ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
printf "${SELF}: ${CMD_CPL}"
set +e
${CMD_CPL}