Reuse Emscripten's sysroot
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,10 +1,7 @@
|
|||||||
SYSROOT = $(PWD)/deps/.install
|
SYSROOT = $(EM_CACHE)/sysroot
|
||||||
|
|
||||||
# Add custom sysroot to paths.
|
# Add custom sysroot to autoconf macro search
|
||||||
export CPPFLAGS += -I$(SYSROOT)/include
|
# (we need this because we use custom local copy of libtool)
|
||||||
export LDFLAGS += -L$(SYSROOT)/lib
|
|
||||||
export PATH := $(SYSROOT)/bin:$(PATH)
|
|
||||||
export PKG_CONFIG_PATH = $(SYSROOT)/lib/pkgconfig
|
|
||||||
export ACLOCAL_PATH := $(SYSROOT)/share/aclocal:$(ACLOCAL_PATH)
|
export ACLOCAL_PATH := $(SYSROOT)/share/aclocal:$(ACLOCAL_PATH)
|
||||||
|
|
||||||
# Common linking flags for all targets.
|
# Common linking flags for all targets.
|
||||||
|
|||||||
Reference in New Issue
Block a user