summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 72c5072..ac6be53 100755
--- a/build
+++ b/build
@@ -3,6 +3,7 @@
include ../source.mk
TCL_V = $$(sed -n 's/Tcl-Version: //p' ../substvars)
+SONAME = libexpect.so.$(OPK_SOURCE_VERSION_UPSTREAM)
nop:
@:
@@ -20,7 +21,7 @@ configure:
build: configure
oh-autobuild -- \
- SONAME='libexpect.so.$(OPK_SOURCE_VERSION_UPSTREAM)'
+ LDFLAGS_DEFAULT='-Wl,--export-dynamic -Wl,-soname=$(SONAME)'
touch $@
install: build