diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-15 23:54:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-15 23:54:43 +0000 |
commit | c9004254ef3d56871ac4aca406a69d8fb93dca05 (patch) | |
tree | 5344fe3af9472fea7689a076c1929b082cf2deef /configure | |
parent | 255d410c6492e42a584880785d63560dc96acdb4 (diff) | |
download | skalibs-c9004254ef3d56871ac4aca406a69d8fb93dca05.tar.xz |
Declare static/shared libs in configure, it's specific anyway
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -514,8 +514,17 @@ if test -n "$vpathd" ; then echo "vpath lib%.so$vpathd" fi -$static || echo "STATIC_LIBS :=" -$shared || echo "SHARED_LIBS :=" +if $static ; then + echo "STATIC_LIBS := libskarnet.a" +else + echo "STATIC_LIBS :=" +fi +if $shared ; then + echo "SHARED_LIBS := libskarnet.so" +else + echo "SHARED_LIBS :=" +fi + exec 1>&3 3>&- echo " ... done." |