Index: utils/objfw-compile ================================================================== --- utils/objfw-compile +++ utils/objfw-compile @@ -229,15 +229,15 @@ out_suffix="$($OBJFW_CONFIG --prog-suffix)" test x"$link_stdcpp" = x"yes" && LIBS="$LIBS -lstdc++" if test x"$lib" = x"yes"; then - export LIB="$out_prefix$out$out_suffix" + export SHARED_LIB="$out_prefix$out$out_suffix" LDFLAGS="$LDFLAGS $($OBJFW_CONFIG --lib-ldflags)" fi if test ! -f "$out_prefix$out$out_suffix" -o x"$link" = x"yes"; then status_linking $out_prefix$out$out_suffix $OBJC -o $out_prefix$out$out_suffix $objs $LIBS $LDFLAGS || \ status_link_failed $out $? status_linked $out_prefix$out$out_suffix fi Index: utils/objfw-config.in ================================================================== --- utils/objfw-config.in +++ utils/objfw-config.in @@ -99,14 +99,14 @@ fi printf "%s" "$LIB_CFLAGS" ;; --lib-ldflags) - if test x"$LIB" = x"" -o x"$LIB_MAJOR" = x"" \ + if test x"$SHARED_LIB" = x"" -o x"$LIB_MAJOR" = x"" \ -o x"$LIB_MINOR" = x""; then - printf "LIB, LIB_MAJOR and LIB_MINOR need " 2>&1 - echo "to be set!" 1>&2 + printf "SHARED_LIB, LIB_MAJOR and " 2>&1 + echo "and LIB_MINOR to be set!" 1>&2 exit 1 fi printf "%s" "$LIB_LDFLAGS" ;;