PageActions: make LoadLayout() static
[xcsoar.git] / build / libstdcxx.mk
blobda4d5c9345b7dacdfb3d19e994e0b9fb2fe0cad3
1 # This file provides "make" rules for the C++ standard library.
3 ifeq ($(TARGET),ANDROID)
4 LIBSTDCXX_CPPFLAGS = -isystem $(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/$(ANDROID_GCC_VERSION)/include \
5 -isystem $(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/$(ANDROID_GCC_VERSION)/libs/$(ANDROID_ABI3)/include
6 LIBSTDCXX_LDADD = $(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++/$(ANDROID_GCC_VERSION)/libs/$(ANDROID_ABI3)/libgnustl_static.a
7 endif
9 ifneq ($(LIBCXX),)
10 include $(topdir)/build/libcxx.mk
11 LIBSTDCXX_CPPFLAGS = $(LIBCXX_CPPFLAGS)
12 LIBSTDCXX_LDADD = $(LIBCXX_LDADD)
13 LIBSTDCXX_LDFLAGS = $(LIBCXX_LDFLAGS)
14 endif
16 # Add the C++ standard library to every library and every program
17 TARGET_CPPFLAGS += $(LIBSTDCXX_CPPFLAGS)
18 TARGET_LDADD := $(LIBSTDCXX_LDADD) $(TARGET_LDADD)