summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-09-19 12:56:57 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-09-19 12:56:57 (EDT)
commite123a24b87d5be2eb2679c69a72336bc87d36e55 (patch)
tree920fed94d2dfe2d1a8fe5026dc65bacdbca8e095
parent4ee6b94bec0b1fc22540af02dc53a88187e95b90 (diff)
build: Fix SONAME setting.
-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