summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-10 10:57:43 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-10 10:57:43 (EDT)
commit0a826ec737cae39c3f9582ae1fe3f558be620e85 (patch)
tree0229cb4dac121a2e86e7dd7fa7827ea0b33c43b7
parent5585fe8f42ec239a5e0fa3fa7c1f4e937a945c8c (diff)
Makefile.am: Define USIGN in pro_archman_SHPPFLAGS
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2734a61..fe3d1c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,6 +54,13 @@ pro_archman_SOURCES =
pro_archman_SHPPFLAGS = \
-DLOCALEDIR="$(localedir)" \
-DTEXTDOMAIN="$(TEXTDOMAIN)"
+if EMBEDDED_USIGN
+pro_archman_SHPPFLAGS += \
+ -DUSIGN="$(pkglibexecdir)/usign$(EXEEXT)"
+else
+pro_archman_SHPPFLAGS += \
+ -DUSIGN="$(USIGN)"
+endif
pro_archman_LDADD = $(pro_archman_SOURCES:.sh=.sho)
EXTRA_pro_archman_DEPENDENCIES = config.sh