From 3b8a76374d0737bb107fc8bf7be84f7161c7150c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 19 Sep 2013 16:13:50 -0400 Subject: build: Move and link to libexpect*.so. --- diff --git a/build b/build index ac6be53..b6e2e7e 100755 --- a/build +++ b/build @@ -3,8 +3,11 @@ include ../source.mk TCL_V = $$(sed -n 's/Tcl-Version: //p' ../substvars) +V = $(OPK_SOURCE_VERSION_UPSTREAM) +V_M = $$(printf '%s\n' '$(V)' | sed 's/\..*$$//') SONAME = libexpect.so.$(OPK_SOURCE_VERSION_UPSTREAM) + nop: @: @@ -26,6 +29,12 @@ build: configure install: build oh-autoinstall + mv dest/usr/lib/$(OPK_HOST_ARCH)/expect$(V)/libexpect$(V).so \ + dest/usr/lib/$(OPK_HOST_ARCH)/libexpect.so.$(V) + ln -sf libexpect.so.$(V) \ + dest/usr/lib/$(OPK_HOST_ARCH)/libexpect.so.$(V_M) + ln -sf libexpect.so.$(V_M) \ + dest/usr/lib/$(OPK_HOST_ARCH)/libexpect.so oh-fixperms oh-strip oh-installfiles -- cgit v0.9.1