sdl2/sdl2_image: clean
This commit is contained in:
parent
9370cad9f1
commit
3e2ff0f300
2 changed files with 0 additions and 9 deletions
|
@ -1,8 +1,5 @@
|
||||||
|
|
||||||
from toolchain import Recipe, shprint
|
from toolchain import Recipe, shprint
|
||||||
from os.path import join, exists
|
|
||||||
import sh
|
import sh
|
||||||
import shutil
|
|
||||||
|
|
||||||
|
|
||||||
class LibSDL2Recipe(Recipe):
|
class LibSDL2Recipe(Recipe):
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
from toolchain import Recipe, shprint
|
from toolchain import Recipe, shprint
|
||||||
from os.path import join
|
from os.path import join
|
||||||
import sh
|
import sh
|
||||||
import shutil
|
|
||||||
|
|
||||||
|
|
||||||
class LibSDL2ImageRecipe(Recipe):
|
class LibSDL2ImageRecipe(Recipe):
|
||||||
|
@ -22,11 +21,6 @@ class LibSDL2ImageRecipe(Recipe):
|
||||||
"-target", "libSDL_image",
|
"-target", "libSDL_image",
|
||||||
"-configuration", "Release")
|
"-configuration", "Release")
|
||||||
|
|
||||||
def install(self):
|
|
||||||
for arch in self.filtered_archs:
|
|
||||||
shutil.copy(
|
|
||||||
join(self.get_build_dir(arch.arch), "SDL_image.h"),
|
|
||||||
join(self.ctx.include_dir, "common", "SDL2"))
|
|
||||||
|
|
||||||
recipe = LibSDL2ImageRecipe()
|
recipe = LibSDL2ImageRecipe()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue