Added -I/usr/pkg/include und -L/usr/pkg/lib for NetBSD
This commit is contained in:
parent
f68d9e29c6
commit
3bad927c0e
@ -1,10 +1,14 @@
|
||||
AC_DEFUN([LIBBURNIA_SET_FLAGS],
|
||||
[
|
||||
case $target_os in
|
||||
freebsd* | netbsd*)
|
||||
freebsd*)
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
||||
;;
|
||||
netbsd*)
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/pkg/lib"
|
||||
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/pkg/include"
|
||||
;;
|
||||
solaris*)
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
esac
|
||||
|
@ -47,10 +47,12 @@ else
|
||||
mkdir "${GEN_DATA_DIR}"
|
||||
fi
|
||||
|
||||
INCLUDE_DIRS="-I../ -I../../libburn -I../../libisofs -I/usr/local/include -I/usr/pkg/include"
|
||||
|
||||
# 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../ -I../../libburn -I../../libisofs ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
|
||||
CMD_CPL="${CC} -c ${INCLUDE_DIRS} ${CFLAGS} -o ${SMPL}.obj ${SMPL}"
|
||||
printf "${SELF}: ${CMD_CPL}"
|
||||
set +e
|
||||
${CMD_CPL}
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2014.04.29.174832"
|
||||
#define Xorriso_timestamP "2014.05.02.090851"
|
||||
|
Loading…
Reference in New Issue
Block a user