se LD_LIBRARY_PATH just for the test run of binaries provided by releng_cxx
This commit is contained in:
parent
2dd0e8de3c
commit
ac9c5ab6da
@ -1,3 +1,5 @@
|
|||||||
|
// Just to ensure we are C++-clean. This should not spit too much noise
|
||||||
|
|
||||||
#if __WORDSIZE == 32
|
#if __WORDSIZE == 32
|
||||||
#define _LARGEFILE_SOURCE 1
|
#define _LARGEFILE_SOURCE 1
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
@ -7,16 +9,13 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include "xorriso/xorriso.h"
|
#include "xorriso/xorriso.h"
|
||||||
|
|
||||||
using namespace std;
|
int main() {
|
||||||
|
std::cout
|
||||||
int main()
|
|
||||||
{
|
|
||||||
cout
|
|
||||||
<< " major:" << Xorriso_header_version_majoR
|
<< " major:" << Xorriso_header_version_majoR
|
||||||
<< " minor:" << Xorriso_header_version_minoR
|
<< " minor:" << Xorriso_header_version_minoR
|
||||||
<< " micro:" << Xorriso_header_version_micrO
|
<< " micro:" << Xorriso_header_version_micrO
|
||||||
;
|
;
|
||||||
// << endl;
|
// << std::endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,36 @@
|
|||||||
|
// Just to ensure we are C++-clean. This should not spit too much noise
|
||||||
|
|
||||||
#if __WORDSIZE == 32
|
#if __WORDSIZE == 32
|
||||||
#define _LARGEFILE_SOURCE 1
|
#define _LARGEFILE_SOURCE 1
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <libburn/libburn.h>
|
#include <libburn/libburn.h>
|
||||||
#include <libisofs/libisofs.h>
|
#include <libisofs/libisofs.h>
|
||||||
|
|
||||||
// using namespace burn;
|
// using namespace burn;
|
||||||
// (this was needed to before rev.4062 of libisoburn)
|
// (this was needed to before rev.4062 of libisoburn)
|
||||||
|
#include <libisoburn/libisoburn.h>
|
||||||
|
|
||||||
#include "libisoburn/libisoburn.h"
|
int main() {
|
||||||
|
/*
|
||||||
|
int major=-1, minor=-1, micro=-1;
|
||||||
|
isoburn_version(&major, &minor, µ);
|
||||||
|
if (major<0 || minor<0 || micro<0)
|
||||||
|
return -1;
|
||||||
|
std::cout
|
||||||
|
<< " major:" << major
|
||||||
|
<< " minor:" << minor
|
||||||
|
<< " micro:" << micro
|
||||||
|
;
|
||||||
|
*/
|
||||||
|
std::cout
|
||||||
|
<< " major:" << isoburn_libisofs_req_major // major
|
||||||
|
<< " minor:" << isoburn_libisofs_req_minor // minor
|
||||||
|
<< " micro:" << isoburn_libisofs_req_micro // micro
|
||||||
|
;
|
||||||
|
// << std::endl;
|
||||||
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -92,8 +92,8 @@ fi
|
|||||||
exit 7
|
exit 7
|
||||||
fi
|
fi
|
||||||
BASE=$(basename ${SMPL}.obj)
|
BASE=$(basename ${SMPL}.obj)
|
||||||
printf "${SELF}: Running ${GEN_DATA_DIR}/${BASE}"
|
printf "${SELF}: Running LD_LIBRARY_PATH=../libisoburn/.libs/ ${GEN_DATA_DIR}/${BASE}"
|
||||||
${GEN_DATA_DIR}/${BASE}
|
LD_LIBRARY_PATH=../libisoburn/.libs/ ${GEN_DATA_DIR}/${BASE}
|
||||||
RET_SMPL="$?"
|
RET_SMPL="$?"
|
||||||
case ${RET_SMPL} in
|
case ${RET_SMPL} in
|
||||||
0)
|
0)
|
||||||
|
Loading…
Reference in New Issue
Block a user