OSDN Git Service

Add rules to build musl-libc executables
[android-x86/external-musl-libc.git] / executable.mk
1 #
2 # Copyright (C) 2019 The Android-x86 Open Source Project
3 #
4 # Licensed under the standard MIT license.
5 # See the COPYRIGHT in the same directory.
6 #
7
8 LOCAL_MODULE_CLASS := EXECUTABLES
9 include $(call my-dir)/binary.mk
10
11 $(LOCAL_PREBUILT_MODULE_FILE): $(all_objects)
12         $(hide) $(MUSL_GCC) $^ -o $@ -Wl,-rpath=$(subst $(PRODUCT_OUT),,$(TARGET_OUT_VENDOR_SHARED_LIBRARIES))
13
14 include $(BUILD_PREBUILT)