Skip to content

Commit 036f687

Browse files
committed
Fix ogg include path for android
1 parent 25a61f6 commit 036f687

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

project/ToolkitBuild.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,14 +351,14 @@
351351
<file name="${SRC_DIR}/linux/RpiMMal.cpp"/>
352352
</section>
353353

354+
<compilerflag value="-I${this_dir}/toolkit" if="NME_LOCAL_TOOLKIT" />
354355
<compilerflag value="-I${NME_ZLIB}"/>
355356
<compilerflag value="-I${NME_PNG}"/>
356357
<compilerflag value="-I${NME_PNG}.." if="NME_LOCAL_TOOLKIT" />
357358
<compilerflag value="-I${NME_JPEG}"/>
358359
<compilerflag value="-I${NME_JPEG}.." if="NME_LOCAL_TOOLKIT" />
359360
<compilerflag value="-I${NME_VORBIS}include"/>
360361
<compilerflag value="-I${NME_OGG}include"/>
361-
<compilerflag value="-I${NME_OGG}.." if="NME_LOCAL_TOOLKIT" />
362362

363363
<compilerflag value="-I${NME_FREETYPE}"/>
364364
<compilerflag value="-I${NME_FREETYPE}include"/>

project/toolkit/ogg/config_types.h

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ typedef unsigned short ogg_uint16_t;
2121
typedef int32_t ogg_int32_t;
2222
typedef unsigned int ogg_uint32_t;
2323
typedef int64_t ogg_int64_t;
24+
typedef uint64_t ogg_uint64_t;
2425

2526
#endif
2627
#endif

project/toolkit/ogg/files.xml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<compilerflag value="-I${NME_OGG}include/"/>
1414
<compilerflag value="-I${NME_OGG}"/>
15+
<compilerflag value="-I${this_dir}/.."/>
1516
<cache value="1" />
1617

1718
<tag value="${NATIVE_TOOLKIT_OPTIM_TAG}" if="NATIVE_TOOLKIT_OPTIM_TAG" />

project/toolkit/vorbis/files.xml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
<compilerflag value="-I${NME_VORBIS}include/"/>
4444
<compilerflag value="-I${NME_VORBIS}lib/"/>
4545
<compilerflag value="-I${NME_OGG}/include/"/>
46+
<compilerflag value="-I${this_dir}/.."/>
4647

4748
<file name="${NME_VORBIS}lib/mdct.c"/>
4849
<file name="${NME_VORBIS}lib/smallft.c"/>

0 commit comments

Comments
 (0)