summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 05:26:48 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-17 05:26:48 (EDT)
commit2c73035818041ba78f61dc3068ffe4dc8438dc69 (patch)
tree7d005bd34276573947151e16e9562699d2e5c2f3
parent7a6b2c4012309b1c525f51da5908a0c7b0290dd7 (diff)
Makefile.am: Link executables against libopkbuild
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c77257d..6acc869 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,8 +47,10 @@ SHPPFLAGS = \
-DHELPERDIR="$(helperdir)" \
-DOPKG="$(OPKG)"
SHSOEXT = shso
+SHLDFLAGS = \
+ -llibopkbuild.$(SHSOEXT).$(libopkbuild_shsoversion)
LINK = printf "PACKAGE_VERSION='%s'\n" "$(PACKAGE_VERSION_GIT)" | \
- '$(srcdir)/tools/shld.sh' -I '$(SH)' -o $@ config.sh -
+ '$(srcdir)/tools/shld.sh' -I '$(SH)' -o $@ $(SHLDFLAGS) config.sh -
LIBLINK = '$(srcdir)/tools/shld.sh' -o $@
dist_pkgdata_DATA = optstring