diff options
author | Edward W. Koenig <kingbeowulf@gmail.com> | 2018-08-13 21:45:21 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-18 08:39:37 +0700 |
commit | 619a201bffd673bb355fba8e71f63de41aab07ff (patch) | |
tree | 57d587fe3fbd040ecd08411969b56ca65d2e5291 /libraries/wxGTK3 | |
parent | ea368952d46189bede7f01fc63c5c0d036c79753 (diff) | |
download | slackbuilds-619a201bffd673bb355fba8e71f63de41aab07ff.tar.gz |
libraries/wxGTK3: Fix symlink for static build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/wxGTK3')
-rw-r--r-- | libraries/wxGTK3/wxGTK3.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/wxGTK3/wxGTK3.SlackBuild b/libraries/wxGTK3/wxGTK3.SlackBuild index 68639b344e..43a7241a66 100644 --- a/libraries/wxGTK3/wxGTK3.SlackBuild +++ b/libraries/wxGTK3/wxGTK3.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=wxGTK3 VERSION=${VERSION:-3.0.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=wxWidgets @@ -119,8 +119,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Now let's fix the broken symlink created by the package -ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-3.0 \ +if [ "${STATIC:-no}" = "yes" ]; then +ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-static-3.0 \ + $PKG/usr/bin/wx-config +else + ln -fs /usr/lib${LIBDIRSUFFIX}/wx/config/gtk2-unicode-3.0 \ $PKG/usr/bin/wx-config +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION |