Skip to content

Commit 85237ca

Browse files
committed
fix linux compile
1 parent 7197cee commit 85237ca

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build/linux.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ cfg_i386_host_machine="i386-linux-gnu"
1717

1818

1919
cfg_all_supported_arches=("i386" "x86_64")
20-
cfg_all_supported_libraries=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl")
20+
cfg_all_supported_libraries=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "gafplayer")
2121
cfg_default_arches_all=("x86_64")
22-
cfg_default_libraries_all=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl")
22+
cfg_default_libraries_all=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "gafplayer")
2323

2424

2525
cfg_build_fat_library=no

contrib/src/gafplayer/rules.mak

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
GAFPLAYER_GITURL := [email protected]:andyque/Cocos2dxGAFPlayer.git
44

5-
PKGS += gafplayer
6-
75
$(TARBALLS)/gafplayer-git.tar.xz:
86
$(call download_git,$(GAFPLAYER_GITURL),addCMakeSupport)
97

@@ -32,7 +30,9 @@ ifdef HAVE_ANDROID
3230
CMAKE_DEFINE=ANDROID
3331
endif
3432

35-
33+
ifdef HAVE_LINUX
34+
CMAKE_DEFINE=LINUX
35+
endif
3636

3737
.gafplayer: gafplayer toolchain.cmake
3838
cd $</Library && $(HOSTVARS) CFLAGS="$(CFLAGS) $(EX_ECFLAGS)" ${CMAKE} -D${CMAKE_DEFINE}=1

0 commit comments

Comments
 (0)