From 2c73035818041ba78f61dc3068ffe4dc8438dc69 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Mar 2019 05:26:48 -0400 Subject: Makefile.am: Link executables against libopkbuild --- 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 -- cgit v0.9.1