diff options
author | Tony Theodore <tonyt@logyst.com> | 2016-01-31 05:56:58 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2016-01-31 05:56:58 (GMT) |
commit | a2e79fec92b09dbac440de062195df710e83d7f1 (patch) | |
tree | 47c0f45a9e17fbb7a38fa7abe39996a1ccfc47bc | |
parent | ddb0b19de4d43fd4054233f04f541c5f860be6d2 (diff) | |
download | mxe-a2e79fec92b09dbac440de062195df710e83d7f1.zip mxe-a2e79fec92b09dbac440de062195df710e83d7f1.tar.gz mxe-a2e79fec92b09dbac440de062195df710e83d7f1.tar.bz2 |
automatically set MXE_PLUGIN_DIRS for native requirements
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -314,6 +314,10 @@ LOOKUP_PKG_RULE = $(strip \ .PHONY: all all: all-filtered +# Build native requirements for certain systems +OS_SHORT_NAME := $(call lc,$(shell lsb_release -sc 2>/dev/null || uname -s)) +MXE_PLUGIN_DIRS += $(realpath $(TOP_DIR)/plugins/native/$(OS_SHORT_NAME)) + .PHONY: check-requirements define CHECK_REQUIREMENT @if ! $(1) --help &>/dev/null; then \ |