mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-27 16:38:20 +03:00
Should fix windows build.
This commit is contained in:
+1
-1
@@ -1325,7 +1325,7 @@ solution "eepp"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
set_targetdir("libs/" .. os.get_real() .. "/thirdparty/")
|
||||
defines { "HAVE_CONFIG_H" }
|
||||
defines { "HAVE_CONFIG_H", "YAML_DECLARE_STATIC" }
|
||||
files { "src/thirdparty/libyaml/**.c" }
|
||||
includedirs { "src/thirdparty/libyaml/include" }
|
||||
build_base_configuration( "libyaml" )
|
||||
|
||||
+1
-1
@@ -1220,7 +1220,7 @@ workspace "eepp"
|
||||
project "libyaml-static"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
defines { "HAVE_CONFIG_H" }
|
||||
defines { "HAVE_CONFIG_H", "YAML_DECLARE_STATIC" }
|
||||
files { "src/thirdparty/libyaml/**.c" }
|
||||
incdirs { "src/thirdparty/libyaml/include" }
|
||||
build_base_configuration( "libyaml" )
|
||||
|
||||
@@ -360,7 +360,7 @@ LOCAL_MODULE := libyaml
|
||||
LIBYAML_SRCS := libyaml/src/*.c
|
||||
|
||||
LOCAL_C_INCLUDES := $(LOCAL_PATH)/libyaml $(LOCAL_PATH)/libyaml/src $(LOCAL_PATH)/libyaml/include
|
||||
LOCAL_CFLAGS := -Os -DHAVE_CONFIG_H
|
||||
LOCAL_CFLAGS := -Os -DHAVE_CONFIG_H -DYAML_DECLARE_STATIC
|
||||
|
||||
LOCAL_SRC_FILES := $(foreach F, $(LIBYAML_SRCS), $(addprefix $(dir $(F)),$(notdir $(wildcard $(LOCAL_PATH)/$(F)))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user